Nie jesteś zalogowany na forum.

#1 2019-07-22 17:26:14

neo386
Użytkownik
Data rejestracji: 2018-11-22
Liczba postów: 97

[SOLVED] - Problem z połaczeniem z sourceforge.net przez SFTP

Witam Was !

Mam problem z połaczeniem się z serwerem sourceforge.net przez sftp
O co tu biega ? Zwykly FTP i SSH działa bez zarzutu.

[[email protected] lucy]# sftp [email protected]
Password: 
subsystem request failed on channel 0
Connection closed
[[email protected] lucy]# 

Please o pomoc.

Ostatnio edytowany przez neo386 (2019-07-22 18:12:38)

Offline

#2 2019-07-22 17:31:54

marcin82
Moderator
Lokalizacja: Sosnowiec
Data rejestracji: 2015-08-20
Liczba postów: 178

Odp: [SOLVED] - Problem z połaczeniem z sourceforge.net przez SFTP

Uruchom sftp z opcją verbose:

sftp -v dalsze_opcje

Nie musisz łączyć się z konta roota, można z użytkownika.


marcin82

Offline

#3 2019-07-22 17:34:45

neo386
Użytkownik
Data rejestracji: 2018-11-22
Liczba postów: 97

Odp: [SOLVED] - Problem z połaczeniem z sourceforge.net przez SFTP

[[email protected] lucy]# sftp -v [email protected]
OpenSSH_8.0p1, OpenSSL 1.1.1b  26 Feb 2019
debug1: Reading configuration data /etc/ssh/ssh_config
debug1: Connecting to shell.sourceforge.net [216.105.38.24] port 22.
debug1: Connection established.
debug1: identity file /root/.ssh/id_rsa type -1
debug1: identity file /root/.ssh/id_rsa-cert type -1
debug1: identity file /root/.ssh/id_dsa type -1
debug1: identity file /root/.ssh/id_dsa-cert type -1
debug1: identity file /root/.ssh/id_ecdsa type -1
debug1: identity file /root/.ssh/id_ecdsa-cert type -1
debug1: identity file /root/.ssh/id_ed25519 type -1
debug1: identity file /root/.ssh/id_ed25519-cert type -1
debug1: identity file /root/.ssh/id_xmss type -1
debug1: identity file /root/.ssh/id_xmss-cert type -1
debug1: Local version string SSH-2.0-OpenSSH_8.0
debug1: Remote protocol version 2.0, remote software version OpenSSH_6.6.1
debug1: match: OpenSSH_6.6.1 pat OpenSSH_6.6.1* compat 0x04000002
debug1: Authenticating to shell.sourceforge.net:22 as 'neo386'
debug1: SSH2_MSG_KEXINIT sent
debug1: SSH2_MSG_KEXINIT received
debug1: kex: algorithm: [email protected]
debug1: kex: host key algorithm: ecdsa-sha2-nistp256
debug1: kex: server->client cipher: [email protected] MAC: <implicit> compression: none
debug1: kex: client->server cipher: [email protected] MAC: <implicit> compression: none
debug1: expecting SSH2_MSG_KEX_ECDH_REPLY
debug1: Server host key: ecdsa-sha2-nistp256 SHA256:W5Aer0OjESVt5fbduA9o7/XUeTdmi8arcwhjmVaGbzs
debug1: Host 'shell.sourceforge.net' is known and matches the ECDSA host key.
debug1: Found key in /root/.ssh/known_hosts:2
debug1: rekey out after 134217728 blocks
debug1: SSH2_MSG_NEWKEYS sent
debug1: expecting SSH2_MSG_NEWKEYS
debug1: SSH2_MSG_NEWKEYS received
debug1: rekey in after 134217728 blocks
debug1: Will attempt key: /root/.ssh/id_rsa 
debug1: Will attempt key: /root/.ssh/id_dsa 
debug1: Will attempt key: /root/.ssh/id_ecdsa 
debug1: Will attempt key: /root/.ssh/id_ed25519 
debug1: Will attempt key: /root/.ssh/id_xmss 
debug1: SSH2_MSG_SERVICE_ACCEPT received
debug1: Authentications that can continue: publickey,keyboard-interactive
debug1: Next authentication method: publickey
debug1: Trying private key: /root/.ssh/id_rsa
debug1: Trying private key: /root/.ssh/id_dsa
debug1: Trying private key: /root/.ssh/id_ecdsa
debug1: Trying private key: /root/.ssh/id_ed25519
debug1: Trying private key: /root/.ssh/id_xmss
debug1: Next authentication method: keyboard-interactive
Password: 
debug1: Authentication succeeded (keyboard-interactive).
Authenticated to shell.sourceforge.net ([216.105.38.24]:22).
debug1: channel 0: new [client-session]
debug1: Requesting [email protected]
debug1: Entering interactive session.
debug1: pledge: network
debug1: Sending subsystem: sftp
subsystem request failed on channel 0
Connection closed
[[email protected] lucy]# 

Jaka diagnoza ?

Offline

#4 2019-07-22 17:57:02

marcin82
Moderator
Lokalizacja: Sosnowiec
Data rejestracji: 2015-08-20
Liczba postów: 178

Odp: [SOLVED] - Problem z połaczeniem z sourceforge.net przez SFTP

Jaka diagnoza ?

Zajrzyj do dokumentacji - nazwa hosta shell?
https://sourceforge.net/p/forge/documentation/SFTP/

Potem ewentualnie przejrzyj takie wyniki:
https://tinyurl.com/y5w8rlee .


marcin82

Offline

#5 2019-07-22 18:11:25

neo386
Użytkownik
Data rejestracji: 2018-11-22
Liczba postów: 97

Odp: [SOLVED] - Problem z połaczeniem z sourceforge.net przez SFTP

Połaczyłem się na zwykłym koncie z [email protected] (frs za @) i poszło :-)

DZIĘKUJĘ

Ostatnio edytowany przez neo386 (2019-07-22 18:14:54)

Offline

Stopka

Forum oparte na FluxBB