1833151 Members
3761 Online
110051 Solutions
New Discussion

ssh error

 
kacou
Regular Advisor

ssh error

i want to use the comand 'scp'. but i have the error below.
............
# scp root@10.x.x.x:/etc/home root@10.x.x.x:/home/
The authenticity of host '10.x.x.x (10.x.x.x)' can't be established.
RSA key fingerprint is 8a:3c:c2:33:80:87:80:df:1c:b3:8e:3f:9d:05:63:c5.
Are you sure you want to continue connecting (yes/no)? yes

Warning: Permanently added '10.x.x.x' (RSA) to the list of known hosts.
scp root@10.x.x.x:/etc/home root@10.x.x.x:/home/
5 REPLIES 5
Jeeshan
Honored Contributor

Re: ssh error

so, where is your error? or what is confusing you?
a warrior never quits
James R. Ferguson
Acclaimed Contributor

Re: ssh error

Hi:

This is expected the first time you connect. The warning is giving you the opportunity to verify that you have never connected to this server.

Regards!

...JRF...
kacou
Regular Advisor

Re: ssh error

when i write the password i have,
Permission denied, please try again.
Jeeshan
Honored Contributor

Re: ssh error

check your root password on both servers. create a file on both servers root's home directory named .rhosts and in this file add like below

root
a warrior never quits
Srimalik
Valued Contributor

Re: ssh error

check your /etc/ssh/sshd_config OR /opt/ssh/etc/sshd_conf OR /opt/secsh/etc/sshd_conf

If there is key value pair

AllowRootLogin=no

make it

AllowRootLogin=yes

and then restart your ssh server

/sbin/init.d/secsh restart ( or /sbin/init.d/secsh stop and then /sbin/init.d/secsh start)
abandon all hope, ye who enter here..