I have several hosts using SFTP connection to hosts in Directory Opus FTP folder.
Direct connections to hosts works as expected, but if I have to use tunneled connection connection attempt will end up to an error:
Opening Connection localhost:9922
Server version: SSH-2.0-OpenSSH_4.3
We believe remote version has SSH-2 channel request bug
Using SSH protocol version 2
We claim version: SSH-2.0-PuTTY_Directory_Opus
Server supports delayed compression; will try this later
Doing Diffie-Hellman group exchange
Doing Diffie-Hellman key exchange with hash SHA-1
Host key fingerprint is:
ssh-rsa 2048 d2:7a:08:6c:7d:3f:52:35:2e:17:7f:01:4e:21:89:1d
Initialised AES-256 SDCTR client->server encryption
Initialised HMAC-SHA1 client->server MAC algorithm
Initialised AES-256 SDCTR server->client encryption
Initialised HMAC-SHA1 server->client MAC algorithm
Pageant is running. Requesting keys.
Pageant has 1 SSH-2 keys
Trying Pageant key #0
Server refused our key
Sent password
Access granted
Initiating key re-exchange (enabling delayed compression)
Opening session as main channel
Doing Diffie-Hellman group exchange
Doing Diffie-Hellman key exchange with hash SHA-1
Initialised AES-256 SDCTR client->server encryption
Initialised HMAC-SHA1 client->server MAC algorithm
Initialised zlib (RFC1950) compression
Initialised AES-256 SDCTR server->client encryption
Initialised HMAC-SHA1 server->client MAC algorithm
Initialised zlib (RFC1950) decompression
Opened main channel
Started a shell/command
Server sent command exit status 1
SSH: Fatal: Received unexpected end-of-file from SFTP server
Connection closed
Successfull connection looks like this:
Opening Connection same-series-host-direct-connection:22
Server version: SSH-2.0-OpenSSH_6.6.1
We believe remote version has SSH-2 channel request bug
Using SSH protocol version 2
We claim version: SSH-2.0-PuTTY_Directory_Opus
Server supports delayed compression; will try this later
Doing Diffie-Hellman group exchange
Doing Diffie-Hellman key exchange with hash SHA-256
Host key fingerprint is:
ssh-rsa 2048 07:aa:e7:4a:4b:6e:ba:79:ba:97:ce:73:95:57:e5:69
Initialised AES-256 SDCTR client->server encryption
Initialised HMAC-SHA-256 client->server MAC algorithm
Initialised AES-256 SDCTR server->client encryption
Initialised HMAC-SHA-256 server->client MAC algorithm
Pageant is running. Requesting keys.
Pageant has 1 SSH-2 keys
Trying Pageant key #0
Server refused our key
Sent password
Access granted
Initiating key re-exchange (enabling delayed compression)
Opening session as main channel
Doing Diffie-Hellman group exchange
Doing Diffie-Hellman key exchange with hash SHA-256
Initialised AES-256 SDCTR client->server encryption
Initialised HMAC-SHA-256 client->server MAC algorithm
Initialised zlib (RFC1950) compression
Initialised AES-256 SDCTR server->client encryption
Initialised HMAC-SHA-256 server->client MAC algorithm
Initialised zlib (RFC1950) decompression
Opened main channel
Started a shell/command
SSH: CTS CONNECTED
SSH: Listing Directory
SSH: List complete 11 files.
While usinf psftp it seems to work:
C:\Program Files (x86)\PuTTY>psftp -v
psftp: no hostname specified; use "open host.name" to connect
psftp> open localhost 9922
Looking up host "localhost"
Connecting to ::1 port 9922
Server version: SSH-2.0-OpenSSH_4.3
We believe remote version has SSH-2 channel request bug
Using SSH protocol version 2
We claim version: SSH-2.0-PuTTY_Release_0.65
Doing Diffie-Hellman group exchange
Doing Diffie-Hellman key exchange with hash SHA-1
Host key fingerprint is:
ssh-rsa 2048 d2:7a:08:6c:7d:3f:52:35:2e:17:7f:01:4e:21:89:1d
Initialised AES-256 SDCTR client->server encryption
Initialised HMAC-SHA1 client->server MAC algorithm
Initialised AES-256 SDCTR server->client encryption
Initialised HMAC-SHA1 server->client MAC algorithm
Pageant is running. Requesting keys.
Pageant has 1 SSH-2 keys
login as: myLoginAtTunnedServer
Trying Pageant key #0
Server refused our key
myLoginAtTunnedServer@localhost's password:
Sent password
Access granted
Opening session as main channel
Opened main channel
Started a shell/command
Connected to MYLOCALHOSTNAME
Remote working directory is /home/myLoginAtTunnedServer
psftp>
Also putty connections works thru these created tunnels with login:
C:\Program Files (x86)\PuTTY\putty.exe" -load ".default" -ssh -l myLoginAtTunnedServer -P 9922 localhost
Putty login login looks like this:
2017-11-22 23:18:56 Looking up host "localhost"
2017-11-22 23:18:56 Connecting to ::1 port 9922
2017-11-22 23:18:56 Server version: SSH-2.0-OpenSSH_4.3
2017-11-22 23:18:56 We believe remote version has SSH-2 channel request bug
2017-11-22 23:18:56 Using SSH protocol version 2
2017-11-22 23:18:56 We claim version: SSH-2.0-PuTTY_Release_0.65
2017-11-22 23:18:56 Doing Diffie-Hellman group exchange
2017-11-22 23:18:56 Doing Diffie-Hellman key exchange with hash SHA-1
2017-11-22 23:18:56 Host key fingerprint is:
2017-11-22 23:18:56 ssh-rsa 2048 d2:7a:08:6c:7d:3f:52:35:2e:17:7f:01:4e:21:89:1d
2017-11-22 23:18:56 Initialised AES-256 SDCTR client->server encryption
2017-11-22 23:18:56 Initialised HMAC-SHA1 client->server MAC algorithm
2017-11-22 23:18:56 Initialised AES-256 SDCTR server->client encryption
2017-11-22 23:18:56 Initialised HMAC-SHA1 server->client MAC algorithm
2017-11-22 23:18:56 Pageant is running. Requesting keys.
2017-11-22 23:18:56 Pageant has 1 SSH-2 keys
2017-11-22 23:18:56 Trying Pageant key #0
2017-11-22 23:18:56 Server refused our key
2017-11-22 23:19:15 Sent password
2017-11-22 23:19:15 Access granted
2017-11-22 23:19:15 Opening session as main channel
2017-11-22 23:19:15 Opened main channel
2017-11-22 23:19:15 Requesting X11 forwarding
2017-11-22 23:19:15 X11 forwarding enabled
2017-11-22 23:19:15 Allocated pty (ospeed 38400bps, ispeed 38400bps)
2017-11-22 23:19:15 Started a shell/command
Regards,
- juhani