Is there a SSH expert in the house ?

digi999

Newbie
TK Supporter
Right , setup :

I have a new Octagon SF4008 to replace the trusty old H2S that has now been assigned other duties as well as a Raspberry Pi 3 that is a dedicated headless deluge seedbox.

Nothing else has changed , same router etc. So .... I download a movie , TV series whatever to my Raspberry Pi then use Filezilla to either transfer it to my laptop (windows 7) or Tinkerboard (Debian) before tranfering it onto my H2S to watch (I know this is a bit of a long way around to do things but I'm trying to learn how to get the seedbox to transfer the file directly onto the box once completed)

However .. The new SF4008 refuses to connect via Filezilla BUT will happily show up if directly accessed through a windows share (albeit slower than normal) as well as let me PuTTy into it.

Now this tells me to things , A) its connected to my router fine and B) it must be allowing some kind of SSH as its allowing me to use Putty but i;m convinced its an SSH cert error. I've attached my Filezilla debug log below. Does anyone have any ideas ?

Sorry for long post but I wanted to give as much info as possible !

Many thanks in advance

FTP DEBUG LOG

Waiting to retry...


Trace: CControlSocket::grin:oClose(66)
Trace: CControlSocket::grin:oClose(66)
Status: Connecting to 192.168.1.238...
Trace: CControlSocket::SendNextCommand()
Trace: CSftpConnectOpData::Send() in state 0
Trace: Going to execute C:\Program Files\FileZilla FTP Client\fzsftp.exe
Response: fzSftp started, protocol_version=8
Trace: CSftpConnectOpData::ParseResponse() in state 0
Trace: CControlSocket::SendNextCommand()
Trace: CSftpConnectOpData::Send() in state 3
Command: open "root@192.168.1.238" 22
Trace: Connecting to 192.168.1.238 port 22
Trace: We claim version: SSH-2.0-PuTTY_Local:_Mar_20_2017_16:43:56
Trace: Server version: SSH-2.0-dropbear_2016.74
Trace: Using SSH protocol version 2
Trace: Doing ECDH key exchange with curve Curve25519 and hash SHA-256
Trace: Host key fingerprint is:
Trace: ssh-rsa 2048 74:f6:d7:41:c3:db:07:2f:9c:4d:4d:3c:67:7f:c2:9e Vhs8obfFebeGxUNAO7kZPvZLr3puzNugMuNPNZpNngo=
Trace: Initialised AES-256 SDCTR client->server encryption
Trace: Initialised HMAC-SHA-256 client->server MAC algorithm
Trace: Initialised AES-256 SDCTR server->client encryption
Trace: Initialised HMAC-SHA-256 server->client MAC algorithm
Trace: Access granted
Trace: Opening session as main channel
Trace: Opened main channel
Trace: Started a shell/command
Status: Connected to 192.168.1.238
Error: Received unexpected end-of-file from SFTP server
Trace: CSftpControlSocket::OnTerminate without error
Trace: CControlSocket::grin:oClose(66)
Trace: CSftpControlSocket::ResetOperation(66)
Trace: CControlSocket::ResetOperation(66)
Error: Could not connect to server
 
Try using WinSCP rather than filezilla and see if you get the same problem..

another option would be to log in to the box as root and then change the root password using the command

passwd

then try connecting via sftp again.
 
Yep FTP turned on the box , can happily transfer over using windows share but no other method will connect aside from putty ... new BT Broadband router installed an hour ago and still same issue so i can rule out the router now. Must be the box but i'll be damned if I can figure out why !

Thanks for the help though guys ... really is appreciated !
 
Your client is terminating the SSH the session see below extract from your log.Try using an alternative client like cyber duck and see how it goes.

Status: Connected to 192.168.1.238
Error: Received unexpected end-of-file from SFTP server

Sent from my ONEPLUS A3003 using Tapatalk
 
I've sorted it ! , however I'm now in the position that I have no idea WHY it works and that just bugs the hell out of me so if a Linux expert stumbles across this thread then I would be eternally grateful to learn what I've just done and why it works !

Ok (and please note , this is from about 7 hours searching on the net and piecing together bits and pieces of info so is in no way my own brain)

Step 1 - Putty connect into your box (full guides on internet how to use Putty)
Step 2 - (assuming you've successfully logged in with password etc) type "opkg update"
Step 3 - sit back while your box updates it's repos (I think its a bit like sudo apt-get update on Debian , only for VIX boxes ?)
Step 4 - type "opkg install openssh-sftp-server"
Step 5 - sit back and let it install
Step 6 - type "reboot"

Give your box a minute to reboot and voila! You can FTP to your hearts content

Thankyou again to all who jumped in to help !
 
Back
Top