problems ssh login in xterm
- Jimmy
- Topic Author
- Offline
- New Member
-
Less
More
- Posts: 2
- Thank you received: 0
15 years 9 months ago #3200
by Jimmy
problems ssh login in xterm was created by Jimmy
hi,
I'm currently testing the 2009 release as it looks quite interesting.
When i run the liveCD and try to run the code_saturne wizard i've got a box apearing and asking for keys. I entered "caelinux" the 4 times the box appeared.
Then when i start up a terminal i always got the same message :
Adding known_hosts entries for host caelinux
# caelinux SSH-2.0-OpenSSH_4.7p1 Debian-8ubuntu1.2
Read from socket failed: Connection reset by peer
# caelinux SSH-2.0-OpenSSH_4.7p1 Debian-8ubuntu1.2
Read from socket failed: Connection reset by peer
Adding known_hosts entries for host localhost
# localhost SSH-2.0-OpenSSH_4.7p1 Debian-8ubuntu1.2
Read from socket failed: Connection reset by peer
# localhost SSH-2.0-OpenSSH_4.7p1 Debian-8ubuntu1.2
Read from socket failed: Connection reset by peer
caelinux@caelinux:~$
semms sshd is refusing all connections :
caelinux@caelinux:~$ ssh caelinux@localhost
Read from socket failed: Connection reset by peer
caelinux@caelinux:~$
sshd is running :
caelinux@caelinux:~$ ps -def |grep sshd
root 9661 1 0 05:52 ? 00:00:00 /usr/sbin/sshd
caelinux 10299 10238 0 06:15 pts/1 00:00:00 grep sshd
Maybe i've misread the explanations but nowhere i found infos on the keyrings ask at first boot. is there a link with the ssh connection error ?
I'm currently testing the 2009 release as it looks quite interesting.
When i run the liveCD and try to run the code_saturne wizard i've got a box apearing and asking for keys. I entered "caelinux" the 4 times the box appeared.
Then when i start up a terminal i always got the same message :
Adding known_hosts entries for host caelinux
# caelinux SSH-2.0-OpenSSH_4.7p1 Debian-8ubuntu1.2
Read from socket failed: Connection reset by peer
# caelinux SSH-2.0-OpenSSH_4.7p1 Debian-8ubuntu1.2
Read from socket failed: Connection reset by peer
Adding known_hosts entries for host localhost
# localhost SSH-2.0-OpenSSH_4.7p1 Debian-8ubuntu1.2
Read from socket failed: Connection reset by peer
# localhost SSH-2.0-OpenSSH_4.7p1 Debian-8ubuntu1.2
Read from socket failed: Connection reset by peer
caelinux@caelinux:~$
semms sshd is refusing all connections :
caelinux@caelinux:~$ ssh caelinux@localhost
Read from socket failed: Connection reset by peer
caelinux@caelinux:~$
sshd is running :
caelinux@caelinux:~$ ps -def |grep sshd
root 9661 1 0 05:52 ? 00:00:00 /usr/sbin/sshd
caelinux 10299 10238 0 06:15 pts/1 00:00:00 grep sshd
Maybe i've misread the explanations but nowhere i found infos on the keyrings ask at first boot. is there a link with the ssh connection error ?
- Joël Cugnoni
-
- Offline
- Moderator
-
15 years 9 months ago #3211
by Joël Cugnoni
Joël Cugnoni - a.k.a admin
www.caelinux.com
Replied by Joël Cugnoni on topic Re:problems ssh login in xterm
Hi,
The problem seems to be that SSHD does not have "proper" host keys...
Could you try this in the terminal (in a Gnome session):
[code:1]
sudo mv /etc/ssh_host_* /tmp
[/code:1]
then close the terminal and reopen it.
you should now be asked to enter "OpenSSH passphrases" twice:
leave it blank!!
Then try :
[code:1]
ssh $HOSTNAME pwd
[/code:1]
normally the command should run properly (the output should be /home/caelinux) without asking you for a password.
The auto-configuration scripts are started from your .bashrc. You can have a look at the file /home/caelinux/.bashrc-CAE to see what it does.. maybe it will help you to solve this issue.
The problem seems to be that SSHD does not have "proper" host keys...
Could you try this in the terminal (in a Gnome session):
[code:1]
sudo mv /etc/ssh_host_* /tmp
[/code:1]
then close the terminal and reopen it.
you should now be asked to enter "OpenSSH passphrases" twice:
leave it blank!!
Then try :
[code:1]
ssh $HOSTNAME pwd
[/code:1]
normally the command should run properly (the output should be /home/caelinux) without asking you for a password.
The auto-configuration scripts are started from your .bashrc. You can have a look at the file /home/caelinux/.bashrc-CAE to see what it does.. maybe it will help you to solve this issue.
Joël Cugnoni - a.k.a admin
www.caelinux.com
- Jimmy
- Topic Author
- Offline
- New Member
-
Less
More
- Posts: 2
- Thank you received: 0
15 years 9 months ago #3221
by Jimmy
Replied by Jimmy on topic Re:problems ssh login in xterm
hi,
seems that leaving empty the ssh password box solves the problem !
seems that leaving empty the ssh password box solves the problem !
- Michael Page
- Offline
- New Member
-
Less
More
- Posts: 14
- Thank you received: 0
15 years 1 month ago #3964
by Michael Page
Replied by Michael Page on topic Re:problems ssh login in xterm
Hi,
I have the same problem. But the ssh_host_* doesn't exist on my installation.
What can I do?
Thank you
Michael Page
IDÉA Innovation PME
www.ideapme.ca
I have the same problem. But the ssh_host_* doesn't exist on my installation.
What can I do?
Thank you
Michael Page
IDÉA Innovation PME
www.ideapme.ca
Moderators: catux
Time to create page: 0.130 seconds