Skip to content

Instantly share code, notes, and snippets.

@tjunussov
Created November 28, 2016 13:42
Show Gist options
  • Save tjunussov/b07bfdff17faf6dd176ed06db6bf467c to your computer and use it in GitHub Desktop.
Save tjunussov/b07bfdff17faf6dd176ed06db6bf467c to your computer and use it in GitHub Desktop.
require('net')
.createServer( function(socket)
{
socket.write('SSH-3.0-OpenSSH_1.2_Guard\r\n');
console.log('SSHD Noop Service - '+socket.remoteAddress );
})
.listen(22, function()
{
console.log('SSHD Noop Service - Started at 22 port')
})
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment