Nie jesteś zalogowany.
Jeśli nie posiadasz konta, zarejestruj je już teraz! Pozwoli Ci ono w pełni korzystać z naszego serwisu. Spamerom dziękujemy!
Prosimy o pomoc dla małej Julki — przekaż 1% podatku na Fundacji Dzieciom zdazyć z Pomocą.
Więcej informacji na dug.net.pl/pomagamy/.
SSH działa, ale SCP już nie. Wcześniej działało, serwer nie jest mój.
Zrzut wywołania z flagą -v
jerry[greybox] ~/devel > scp -v xor_jerry.zip jakub@$atom:/home/jakub/ >> dump Executing: program /usr/bin/ssh host 82.160.38.122, user jakub, command scp -v -t -- /home/jakub/ OpenSSH_5.5p1 Debian-6, OpenSSL 0.9.8o 01 Jun 2010 debug1: Reading configuration data /etc/ssh/ssh_config debug1: Applying options for * debug1: Connecting to 82.160.38.122 [82.160.38.122] port 22. debug1: Connection established. debug1: identity file /home/jerry/.ssh/id_rsa type -1 debug1: identity file /home/jerry/.ssh/id_rsa-cert type -1 debug1: identity file /home/jerry/.ssh/id_dsa type -1 debug1: identity file /home/jerry/.ssh/id_dsa-cert type -1 debug1: Remote protocol version 2.0, remote software version OpenSSH_5.6 debug1: match: OpenSSH_5.6 pat OpenSSH* debug1: Enabling compatibility mode for protocol 2.0 debug1: Local version string SSH-2.0-OpenSSH_5.5p1 Debian-6 debug1: SSH2_MSG_KEXINIT sent debug1: SSH2_MSG_KEXINIT received debug1: kex: server->client aes128-ctr hmac-md5 none debug1: kex: client->server aes128-ctr 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 debug1: Host '82.160.38.122' is known and matches the RSA host key. debug1: Found key in /home/jerry/.ssh/known_hosts:1 debug1: ssh_rsa_verify: signature correct 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,keyboard-interactive debug1: Next authentication method: publickey debug1: Trying private key: /home/jerry/.ssh/id_rsa debug1: Trying private key: /home/jerry/.ssh/id_dsa debug1: Next authentication method: keyboard-interactive Password: debug1: Authentication succeeded (keyboard-interactive). debug1: channel 0: new [client-session] debug1: Requesting no-more-sessions@openssh.com debug1: Entering interactive session. debug1: Sending environment. debug1: Sending env LANG = pl_PL.utf8 debug1: Sending command: scp -v -t -- /home/jakub/ welc0me to atom jerry[greybox] ~/devel > debug1: client_input_channel_req: channel 0 rtype exit-status reply 0 debug1: channel 0: free: client-session, nchannels 1 debug1: fd 0 clearing O_NONBLOCK debug1: fd 1 clearing O_NONBLOCK Transferred: sent 1656, received 2184 bytes, in 0.1 seconds Bytes per second: sent 13703.6, received 18072.9 debug1: Exit status 0
Ostatnio edytowany przez jerrythemouse (2011-01-23 16:38:46)
Offline
Opowiedz o tym nie działaniu bo z tego co wkleiłeś można wywnioskować, że jednak działa.
Offline
heh, no może to tak wyglądać jednak pliki na serwerze nie lądują, generalnie powinien się wyświetlać bar z postępem ale jak widać nie ma go, dostaje tylko:
welc0me to atom
i to wszystko (to nie jest MOTD, tylko echo w moim .bashrc więc można wnioskować, że logowanie było poprawne)
Transferred: sent 1656, received 2184 bytes, in 0.1 seconds
rozmiary też się nie zgadzają, to są wyniki dla pliku który ma 2525B
---edit-edit-edit-edit---
przez pscp jest to samo, śmierdzi jakimś bugiem.
Ostatnio edytowany przez jerrythemouse (2011-01-23 10:36:36)
Offline
Pytanie za 100 punktów na zdalnej maszynie jest quota ? Jeśli tak to sprawdź czu nie przekroczyłeś.
Offline
[b]winnetou:[/b] quoty nie było, dziękuje [b]bercik[/b] dział :)
Ostatnio edytowany przez jerrythemouse (2011-01-23 16:37:49)
Offline
Time (s) | Query |
---|---|
0.00009 | SET CHARSET latin2 |
0.00004 | SET NAMES latin2 |
0.00113 | SELECT u.*, g.*, o.logged FROM punbb_users AS u INNER JOIN punbb_groups AS g ON u.group_id=g.g_id LEFT JOIN punbb_online AS o ON o.ident='3.147.73.85' WHERE u.id=1 |
0.00075 | REPLACE INTO punbb_online (user_id, ident, logged) VALUES(1, '3.147.73.85', 1732476859) |
0.00048 | SELECT * FROM punbb_online WHERE logged<1732476559 |
0.00064 | DELETE FROM punbb_online WHERE ident='3.133.128.227' |
0.00073 | DELETE FROM punbb_online WHERE ident='3.145.97.235' |
0.00075 | SELECT topic_id FROM punbb_posts WHERE id=163079 |
0.00006 | SELECT id FROM punbb_posts WHERE topic_id=18134 ORDER BY posted |
0.00080 | SELECT t.subject, t.closed, t.num_replies, t.sticky, f.id AS forum_id, f.forum_name, f.moderators, fp.post_replies, 0 FROM punbb_topics AS t INNER JOIN punbb_forums AS f ON f.id=t.forum_id LEFT JOIN punbb_forum_perms AS fp ON (fp.forum_id=f.id AND fp.group_id=3) WHERE (fp.read_forum IS NULL OR fp.read_forum=1) AND t.id=18134 AND t.moved_to IS NULL |
0.00005 | SELECT search_for, replace_with FROM punbb_censoring |
0.00163 | SELECT u.email, u.title, u.url, u.location, u.use_avatar, u.signature, u.email_setting, u.num_posts, u.registered, u.admin_note, p.id, p.poster AS username, p.poster_id, p.poster_ip, p.poster_email, p.message, p.hide_smilies, p.posted, p.edited, p.edited_by, g.g_id, g.g_user_title, o.user_id AS is_online FROM punbb_posts AS p INNER JOIN punbb_users AS u ON u.id=p.poster_id INNER JOIN punbb_groups AS g ON g.g_id=u.group_id LEFT JOIN punbb_online AS o ON (o.user_id=u.id AND o.user_id!=1 AND o.idle=0) WHERE p.topic_id=18134 ORDER BY p.id LIMIT 0,25 |
0.00090 | UPDATE punbb_topics SET num_views=num_views+1 WHERE id=18134 |
Total query time: 0.00805 s |