Quantcast
Channel: SSH between 2 PCs - Ask Ubuntu
Viewing all articles
Browse latest Browse all 2

SSH between 2 PCs

$
0
0

I've successfully managed to setup SSH server individually on 2 PCs(master and slave setup).

I can login from the slave to the master but the vice versa isn't happening.

From he individual PCs I can login to the localhost also.

Can someone help me out? I've disabled the firewalls and tried everything. Should I provide more specific details regd this?

I've installed the openssh-server on both PCs already. And I'm using the above mentioned syntax. Also, the error message I'm getting is:

ssh uname@10.5.10.251 ssh: connect to host 10.5.10.251 port 22: Connection refused

Whereas this works perfectly fine when I ssh from the slave.

On trying ssh -v I get:

OpenSSH_5.8p1 Debian-7ubuntu1, OpenSSL 1.0.0e 6 Sep 2011

debug1: Reading configuration data /etc/ssh/ssh_config

debug1: Applying options for *

debug1: Connecting to 10.5.10.251 [10.5.10.251] port 22.

debug1: connect to address 10.5.10.251 port 22: Connection refused

ssh: connect to host 10.5.10.251 port 22: Connection refused

And pinging the slave from master works fine. This means that master is able to reach slave, right? Also, I've disabled the firewall on the slave using the UI.


Viewing all articles
Browse latest Browse all 2

Latest Images

Trending Articles





Latest Images