francwalter
May 3rd, 2012, 04:44 PM
Hello
I have two Ubuntu servers, one with keyboard authentification disabled (only keyfile auth), ubuntu 8.04 LTS, I name him "myserver" and another new one with keyboard auth enabled, Ubuntu 10.04 LTS "mysecondserver".
In myserver I have in the sshd_config:
PasswordAuthentication no
ChallengeResponseAuthentication no
Now I want to connect from myserver to mysecondserver but I get errors:
root@myserver:~# ssh root@1.2.3.4 -v
OpenSSH_4.7p1 Debian-8ubuntu3, OpenSSL 0.9.8g 19 Oct 2007
debug1: Reading configuration data /etc/ssh/ssh_config
debug1: Applying options for *
debug1: Connecting to 1.2.3.4 [1.2.3.4] port 22.
debug1: Connection established.
debug1: permanently_set_uid: 0/0
debug1: identity file /root/.ssh/identity type -1
debug1: identity file /root/.ssh/id_rsa type -1
debug1: identity file /root/.ssh/id_dsa type -1
ssh_exchange_identification: Connection closed by remote host
root@myserver:~#
Do I need to enable Keyboard authentification on myserver if I only want to connect to the other server?
Isn't the setting of only file-auth (no keyboard auth) only for an incoming ssh-connection?
mysecondserver's ssh-Version:
root@mysecondserver:/# ssh -V
OpenSSH_5.3p1 Debian-3ubuntu7, OpenSSL 0.9.8k 25 Mar 2009
frank
I have two Ubuntu servers, one with keyboard authentification disabled (only keyfile auth), ubuntu 8.04 LTS, I name him "myserver" and another new one with keyboard auth enabled, Ubuntu 10.04 LTS "mysecondserver".
In myserver I have in the sshd_config:
PasswordAuthentication no
ChallengeResponseAuthentication no
Now I want to connect from myserver to mysecondserver but I get errors:
root@myserver:~# ssh root@1.2.3.4 -v
OpenSSH_4.7p1 Debian-8ubuntu3, OpenSSL 0.9.8g 19 Oct 2007
debug1: Reading configuration data /etc/ssh/ssh_config
debug1: Applying options for *
debug1: Connecting to 1.2.3.4 [1.2.3.4] port 22.
debug1: Connection established.
debug1: permanently_set_uid: 0/0
debug1: identity file /root/.ssh/identity type -1
debug1: identity file /root/.ssh/id_rsa type -1
debug1: identity file /root/.ssh/id_dsa type -1
ssh_exchange_identification: Connection closed by remote host
root@myserver:~#
Do I need to enable Keyboard authentification on myserver if I only want to connect to the other server?
Isn't the setting of only file-auth (no keyboard auth) only for an incoming ssh-connection?
mysecondserver's ssh-Version:
root@mysecondserver:/# ssh -V
OpenSSH_5.3p1 Debian-3ubuntu7, OpenSSL 0.9.8k 25 Mar 2009
frank