Quote:
Originally posted by TruckStuff
Define "import". Or just read here
|
Sorry if i'm being vague. When i say import, i mean scp the public key to a folder called .ssh2 on the FC3 box, then 'cat ~/.ssh2/filename.pub >> ~/.ssh/authorized_keys' I generate the keypair using 'ssh-keygen...' through the terminal in OSX.
With a putty generated key (Win 2k/98), i use 'ssh-keygen -X -f ~/.ssh2/filename.pub >> ~/.ssh/authorized_keys'
this was achieved using ssh -vv
--
The authenticity of host 'ip_address (ip_address)' can't be established.
RSA key fingerprint is ***********************************************.
Are you sure you want to continue connecting (yes/no)? yes
Warning: Permanently added 'ip_address' (RSA) to the list of known hosts.
debug1: bits set: 1028/2048
debug1: ssh_rsa_verify: signature correct
debug1: kex_derive_keys
debug1: newkeys: mode 1
debug1: SSH2_MSG_NEWKEYS sent
debug1: waiting for SSH2_MSG_NEWKEYS
debug1: newkeys: mode 0
debug1: SSH2_MSG_NEWKEYS received
debug1: done: ssh_kex2.
debug1: send SSH2_MSG_SERVICE_REQUEST
debug1: service_accept: ssh-userauth
debug1: got SSH2_MSG_SERVICE_ACCEPT
debug1: authentications that can continue: publickey,gssapi-with-mic,password
debug1: next auth method to try is publickey
debug1: try privkey: /home/dundee/.ssh/identity
debug1: try pubkey: /home/dundee/.ssh/id_rsa
debug2: we sent a publickey packet, wait for reply
debug1: input_userauth_pk_ok: pkalg ssh-rsa blen 149 lastkey 0x8088c28 hint 1
debug2: input_userauth_pk_ok: fp ***********************************************
debug1: try privkey: /home/dundee/.ssh/id_dsa
debug2: we did not send a packet, disable method
debug1: next auth method to try is password
paulc@ip_address's password:
debug2: we sent a password packet, wait for reply
debug1: ssh-userauth2 successful: method password
debug1: channel 0: new [client-session]
debug1: send channel open 0
debug1: Entering interactive session.
debug2: callback start
debug1: ssh_session2_setup: id 0
debug1: channel request 0: pty-req
debug1: channel request 0: shell
debug1: fd 3 setting TCP_NODELAY
debug2: callback done
debug1: channel 0: open confirm rwindow 0 rmax 32768
debug2: channel 0: rcvd adjust 131072
Last login: Thu Mar 10 16:32:49 2005 from ip_address
--
From putty/plink:
--
plink -ssh -v paulc@ip_address -i 2ndgo.ppk
Server version: SSH-1.99-OpenSSH_3.9p1
We claim version: SSH-2.0-PuTTY-Release-0.57
Using SSH protocol version 2
Doing Diffie-Hellman group exchange
Doing Diffie-Hellman key exchange
Host key fingerprint is:
ssh-rsa *******************************************
Initialised AES-256 client->server encryption
Initialised AES-256 server->client encryption
Initialised HMAC-SHA1 client->server MAC algorithm
Initialised HMAC-SHA1 server->client MAC algorithm
Using username "paulc".
Reading private key file "2ndgo.ppk"
Offered public key
Server refused our key
Server refused public key
paulc@ip_address's password:
Sent password
Access granted
Opened channel for session
Allocated pty (ospeed 38400bps, ispeed 38400bps)
Started a shell/command
Last login: Thu Mar 10 16:58:14 2005 from 62.56.18.66