Monday, 15 May 2017

Xterm Connect remote SSH via Xterm user inputs

I am new to node.js ,socket.io & xterm. I was referring this stack-overflow query regarding remote ssh connection Connecting to remote SSH server (via Node.js/html5 console)

It was observed that this code connects to remote host :

.connect({
    host: '192.168.100.105',
    username: 'foo',
    password: 'barbaz'
  });

Is there a way to get host, username and password from xterm(index.html) user input and then connect to remote ssh in node.js side.



via psorab

No comments:

Post a Comment