[Sussex] SCP - setup problem
Brendan Whelan
b_whelan at mistral.co.uk
Fri May 6 07:18:32 UTC 2005
Hello,
I am trying to setup scup to transfer files between two Fedora core 3 systems. I suspect that I am nearly there but I get the following error
debug1: SSH2_MSG_SERVICE_ACCEPT received
debug1: Authentications that can continue: publickey,gssapi-with-mic,password
debug1: Next authentication method: gssapi-with-mic
debug1: An invalid name was supplied
Cannot determine realm for numeric host address
debug1: An invalid name was supplied
Cannot determine realm for numeric host address
debug1: Next authentication method: publickey
debug1: Trying private key: /root/.ssh/identity
debug1: Trying private key: /root/.ssh/id_rsa
debug1: Trying private key: /root/.ssh/id_dsa
debug1: No more authentication methods to try.
........................................
........................................
Permission denied
I have a user "bu" on both systems whilst logged in as "bu" I used sshkeygen -t dsa to generate the keys (in /home/bu/.ssh) and then copied the public key to the partner system. There I used cat to include the public key in the authorized_keys file, both in /home/bu/.ssh and /root/.ssh.
My scp command is:
scp -B -v bu at nn.nn.nn.nn:/home/bu/dud.txt /home/bu/dud_copy.txt where nn.nn.nn.nn is my IP address
If I remove the -B I get prompted for the password and is I enter a value the file is transferred. I suspect that I have got something wrong with the keys but after much playing around I cannot find the problem.
Any suggestions,
Brendan
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mailman.lug.org.uk/pipermail/sussex/attachments/20050506/6a64d2e4/attachment.htm
More information about the Sussex
mailing list