Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
SSHFS on the client, Dropbear on the server? [SOLVED]
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Networking & Security
View previous topic :: View next topic  
Author Message
Napalm Llama
Guru
Guru


Joined: 04 Jun 2005
Posts: 533
Location: Cardiff, UK

PostPosted: Sun Jul 15, 2007 11:51 pm    Post subject: SSHFS on the client, Dropbear on the server? [SOLVED] Reply with quote

Having got my crypto keys and everything sorted, so I can log in nicely, I've hit (another) stumbling block: I can't mount the remote filesystem via SSHFS as I originally intended to, because the server doesn't have OpenSSH - only Dropbear. I am root on the server, but it's very resource-constrained so I don't want to install OpenSSH.

My problem is that SSHFS wants to use the SFTP sub-protocol, but Dropbear only supports SCP.

I guess my question breaks down into two alternatives:
> Can Dropbear do SFTP (as opposed to SCP)?
> Can SSHFS connect using SCP (as opposed to SFTP)?

Thankyou in advance for any advice :)
_________________
Ryzen 5600x; Asus TUF Gaming B550-Plus; Geforce 1660 Super
Registered Linux User #381314
# killall humans


Last edited by Napalm Llama on Sat Aug 11, 2007 10:25 am; edited 1 time in total
Back to top
View user's profile Send private message
no_hope
Guru
Guru


Joined: 23 Jun 2003
Posts: 482

PostPosted: Mon Jul 16, 2007 3:25 pm    Post subject: Reply with quote

Quote:
wu src # sshfs --help 2>&1 | grep sftp_server
-o sftp_server=SERV path to sftp server or subsystem (default: sftp)


maybe you can tell it to use scp instead of sftp?
Back to top
View user's profile Send private message
Napalm Llama
Guru
Guru


Joined: 04 Jun 2005
Posts: 533
Location: Cardiff, UK

PostPosted: Tue Jul 17, 2007 12:08 am    Post subject: Reply with quote

Surely it would expect sftp-like behaviour, though, which scp doesn't provide?

Also, its errors aren't very useful:
Code:
splig ~ # sshfs klunk@muttley:/srv/klunk /mnt/temp/ -o IdentityFile=~nl/.ssh/id_klunk -o LogLevel=DEBUG3 -o sftp_server=scp
remote host has disconnected

Where are all those debug messages I asked for? They haven't shown up...
_________________
Ryzen 5600x; Asus TUF Gaming B550-Plus; Geforce 1660 Super
Registered Linux User #381314
# killall humans
Back to top
View user's profile Send private message
Napalm Llama
Guru
Guru


Joined: 04 Jun 2005
Posts: 533
Location: Cardiff, UK

PostPosted: Sat Aug 11, 2007 10:25 am    Post subject: Reply with quote

I have solved it!

OpenSSH only has to be present on the system for its sftp-server to be used - it doesn't have to be running, consuming resources. So I emerged it, and kept Dropbear as the SSH server that's started at boot - and now everything works splendidly!

Huzzah! :D
_________________
Ryzen 5600x; Asus TUF Gaming B550-Plus; Geforce 1660 Super
Registered Linux User #381314
# killall humans
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Networking & Security All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum