vi .ssh/known_hostsremove the line, let say if the number is 348
:348
dd
:wq!
vi .ssh/known_hosts:348
dd
:wq!
/sbin/init.d # ./secsh start
Privilege separation user sshd does not exist
EXIT CODE: 255/sbin/init.d # useradd -u 103 -c "sshd privsep" -d /var/empty -s /bin/false sshd Host * ProxyCommand connect -S socks.proxy.la %h %pHostname: ssh_server
X display location: localhost:0
Source port: 5901
Destination: vnc_server:5900localhost:1
sshd:x:74:74:Privilege-separated SSH:/var/empty/sshd:/sbin/nologin/etc/group:sshd:*:27:
Disabling protocol version 1. Could not load host key
Disabling protocol version 2. Could not load host key# /usr/local/bin/ssh-keygen -d -f /usr/local/etc/ssh_host_dsa_key -N ""
# /usr/local/bin/ssh-keygen -b 1024 -f /usr/local/etc/ssh_host_rsa_key -t rsa -N ""
$ ssh-keygen -t rsa
$ scp ~/.ssh/id_rsa.pub servername:$ ssh-agent $SHELL
$ ssh servernameTERM="vt100"; export TERM
00:53:52 ssh myuser@my.domain.net
Permission denied (publickey).ChallengeResponseAuthentication yes