Quellcode |
|
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 |
OpenSSH_6.7p1 Ubuntu-5ubuntu1, OpenSSL 1.0.1f 6 Jan 2014 debug1: Reading configuration data /etc/ssh/ssh_config debug1: /etc/ssh/ssh_config line 19: Applying options for * debug1: Connecting to sven-p6-2272eg [192.168.178.24] port 22. debug1: Connection established. debug1: identity file /home/sven-kubuntu/.ssh/id_rsa type 1 debug1: key_load_public: No such file or directory debug1: identity file /home/sven-kubuntu/.ssh/id_rsa-cert type -1 debug1: key_load_public: No such file or directory debug1: identity file /home/sven-kubuntu/.ssh/id_dsa type -1 debug1: key_load_public: No such file or directory debug1: identity file /home/sven-kubuntu/.ssh/id_dsa-cert type -1 debug1: key_load_public: No such file or directory debug1: identity file /home/sven-kubuntu/.ssh/id_ecdsa type -1 debug1: key_load_public: No such file or directory debug1: identity file /home/sven-kubuntu/.ssh/id_ecdsa-cert type -1 debug1: key_load_public: No such file or directory debug1: identity file /home/sven-kubuntu/.ssh/id_ed25519 type -1 debug1: key_load_public: No such file or directory debug1: identity file /home/sven-kubuntu/.ssh/id_ed25519-cert type -1 debug1: Enabling compatibility mode for protocol 2.0 debug1: Local version string SSH-2.0-OpenSSH_6.7p1 Ubuntu-5ubuntu1 debug1: Remote protocol version 2.0, remote software version OpenSSH_6.6.1p1 Ubuntu-2ubuntu2 debug1: match: OpenSSH_6.6.1p1 Ubuntu-2ubuntu2 pat OpenSSH_6.6.1* compat 0x04000000 debug1: SSH2_MSG_KEXINIT sent debug1: SSH2_MSG_KEXINIT received debug1: kex: server->client aes128-ctr umac-64-etm@openssh.com none debug1: kex: client->server aes128-ctr umac-64-etm@openssh.com none debug1: sending SSH2_MSG_KEX_ECDH_INIT debug1: expecting SSH2_MSG_KEX_ECDH_REPLY debug1: Server host key: ECDSA ce:12:18:97:e2:2b:8e:c8:d0:12:71:b0:ec:df:79:e6 debug1: Host 'sven-p6-2272eg' is known and matches the ECDSA host key. debug1: Found key in /home/sven-kubuntu/.ssh/known_hosts:3 debug1: SSH2_MSG_NEWKEYS sent debug1: expecting SSH2_MSG_NEWKEYS debug1: SSH2_MSG_NEWKEYS received debug1: Roaming not allowed by server 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: Offering RSA public key: /home/sven-kubuntu/.ssh/id_rsa debug1: Authentications that can continue: publickey,password debug1: Trying private key: /home/sven-kubuntu/.ssh/id_dsa debug1: Trying private key: /home/sven-kubuntu/.ssh/id_ecdsa debug1: Trying private key: /home/sven-kubuntu/.ssh/id_ed25519 debug1: Next authentication method: password |
Dieser Beitrag wurde bereits 1 mal editiert, zuletzt von »Tarawa« (30.05.2015, 21:11)
Sag ich jastatt ssh sven-p6-2272eg hab ich sven@sven-p6-2272eg eingetippt und das hat geholfen
Das würde bedeuten, daß es früher funktioniert hat. Also müsstest du auf beiden Rechnern den gleichen Usernamen gehabt haben.kann mich von Rechner 1,nicht mehr auf Rechner 2 aufschalten
Quellcode |
|
1 |
nano ~/.ssh/config |
Dann kannst du dich jederzeit mit "ssh anderer-rechner" verbinden, und der richtige Username (+Keyfile) wird automatisch verwendet.Zitat
Host sven-p6-2272eg
User sven
# optional:
IdentityFile /home/sven-kubuntu/.ssh/id_rsa
Host irgendwas
User irgendwer
# optional:
IdentityFile /home/sven-kubuntu/.ssh/id_irgendwas
# usw...
Sponsorenwerbung: |
Hardware, Computer, PCs, Notebooks & Laptops mit Linux |
Forensoftware: Burning Board®, entwickelt von WoltLab® GmbH
Individuelle Notebooks Laptops - Individuelle Computer PCs - Linux Notebooks & Computers
Lastminute - Ubuntu Linux - Abmahnung - Geek und Nerd Shirt Shop
T-Shirts - sanierung wien