On 14 Sep 2007 17:20:47 GMT, Alex Holst wrote:
> Paa din klient, hvad er output af:
>
> id
uid=0(root) gid=0(root) groups=0(root)
> ls -l ~/.ssh/
-rw------- 1 root root 668 2007-06-27 15:20 id_dsa
-rw------- 1 root root 672 2007-09-14 15:45 id_dsa2
-rw-r--r-- 1 root root 601 2007-09-14 15:45 id_dsa2.pub
-rw------- 1 root root 668 2007-09-14 17:43 id_dsa3
-rw-r--r-- 1 root root 601 2007-09-14 17:43 id_dsa3.pub
-rw-r--r-- 1 root root 601 2007-06-27 15:20 id_dsa.pub
-rw-r--r-- 1 root root 1694 2007-08-21 19:31 known_hosts
> ssh -v hostnavn
garage:/# ls -l ~/.ssh/
total 28
-rw------- 1 root root 668 2007-06-27 15:20 id_dsa
-rw------- 1 root root 672 2007-09-14 15:45 id_dsa2
-rw-r--r-- 1 root root 601 2007-09-14 15:45 id_dsa2.pub
-rw------- 1 root root 668 2007-09-14 17:43 id_dsa3
-rw-r--r-- 1 root root 601 2007-09-14 17:43 id_dsa3.pub
-rw-r--r-- 1 root root 601 2007-06-27 15:20 id_dsa.pub
-rw-r--r-- 1 root root 1694 2007-08-21 19:31 known_hosts
garage:/# ssh -v garage
OpenSSH_4.3p2 Debian-9, OpenSSL 0.9.8c 05 Sep 2006
debug1: Reading configuration data /etc/ssh/ssh_config
debug1: Applying options for *
debug1: Connecting to garage [127.0.1.1] port 22.
debug1: Connection established.
debug1: permanently_set_uid: 0/0
debug1: identity file /root/.ssh/identity type -1
debug1: identity file /root/.ssh/id_rsa type -1
debug1: identity file /root/.ssh/id_dsa type 2
debug1: Remote protocol version 2.0, remote software version
OpenSSH_4.3p2 Debian-9
debug1: match: OpenSSH_4.3p2 Debian-9 pat OpenSSH*
debug1: Enabling compatibility mode for protocol 2.0
debug1: Local version string SSH-2.0-OpenSSH_4.3p2 Debian-9
debug1: Miscellaneous failure
No credentials cache found
debug1: Miscellaneous failure
No credentials cache found
debug1: SSH2_MSG_KEXINIT sent
debug1: SSH2_MSG_KEXINIT received
debug1: kex: server->client aes128-cbc hmac-md5 none
debug1: kex: client->server aes128-cbc hmac-md5 none
debug1: SSH2_MSG_KEX_DH_GEX_REQUEST(1024<1024<8192) sent
debug1: expecting SSH2_MSG_KEX_DH_GEX_GROUP
debug1: SSH2_MSG_KEX_DH_GEX_INIT sent
debug1: expecting SSH2_MSG_KEX_DH_GEX_REPLY
The authenticity of host 'garage (127.0.1.1)' can't be established.
RSA key fingerprint is 0b:80:1b:81:92:5d:c4:42:5d:0b:c2:37:55:7d:e2:de.
Are you sure you want to continue connecting (yes/no)? yes
Warning: Permanently added 'garage' (RSA) to the list of known hosts.
debug1: ssh_rsa_verify: signature correct
debug1: SSH2_MSG_NEWKEYS sent
debug1: expecting SSH2_MSG_NEWKEYS
debug1: SSH2_MSG_NEWKEYS received
debug1: SSH2_MSG_SERVICE_REQUEST sent
debug1: SSH2_MSG_SERVICE_ACCEPT received
debug1: Authentications that can continue: publickey,password
debug1: Next authentication method: publickey
debug1: Trying private key: /root/.ssh/identity
debug1: Trying private key: /root/.ssh/id_rsa
debug1: Offering public key: /root/.ssh/id_dsa
debug1: Authentications that can continue: publickey,password
debug1: Next authentication method: password
root@garage's password:
debug1: Authentication succeeded (password).
debug1: channel 0: new [client-session]
debug1: Entering interactive session.
debug1: Sending environment.
debug1: Sending env LANG = en_DK.UTF-8
Last login: Fri Sep 14 17:24:32 2007 from 192.168.162.179
Linux garage 2.6.18-5-686 #1 SMP Thu Aug 30 02:19:07 UTC 2007 i686
The programs included with the Debian GNU/Linux system are free
software;
the exact distribution terms for each program are described in the
individual files in /usr/share/doc/*/copyright.
Debian GNU/Linux comes with ABSOLUTELY NO WARRANTY, to the extent
permitted by applicable law.
garage
#
> Paa serveren, hvad er output af:
>
> id
uid=0(root) gid=0(root) groups=0(root)
> ls -l ~/.ssh/
-rw------- 1 root root 1202 2007-09-14 18:11 authorized_keys2
--
Leonard
Mine biler:
http://vw.leonard.dk/