View previous topic :: View next topic |
Author |
Message |
Napalm Llama Guru
![Guru Guru](/images/ranks/rank_rect_3.gif)
![](images/avatars/4075621174655b73b2934a.png)
Joined: 04 Jun 2005 Posts: 533 Location: Cardiff, UK
|
Posted: Sun Jul 15, 2007 11:51 pm Post subject: SSHFS on the client, Dropbear on the server? [SOLVED] |
|
|
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 ![Smile :)](images/smiles/icon_smile.gif) _________________ 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 |
|
![](templates/gentoo/images/spacer.gif) |
no_hope Guru
![Guru Guru](/images/ranks/rank_rect_3.gif)
![](images/avatars/17548115346b0bdac11ddf.jpg)
Joined: 23 Jun 2003 Posts: 482
|
Posted: Mon Jul 16, 2007 3:25 pm Post subject: |
|
|
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 |
|
![](templates/gentoo/images/spacer.gif) |
Napalm Llama Guru
![Guru Guru](/images/ranks/rank_rect_3.gif)
![](images/avatars/4075621174655b73b2934a.png)
Joined: 04 Jun 2005 Posts: 533 Location: Cardiff, UK
|
Posted: Tue Jul 17, 2007 12:08 am Post subject: |
|
|
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 |
|
![](templates/gentoo/images/spacer.gif) |
Napalm Llama Guru
![Guru Guru](/images/ranks/rank_rect_3.gif)
![](images/avatars/4075621174655b73b2934a.png)
Joined: 04 Jun 2005 Posts: 533 Location: Cardiff, UK
|
Posted: Sat Aug 11, 2007 10:25 am Post subject: |
|
|
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! ![Very Happy :D](images/smiles/icon_biggrin.gif) _________________ Ryzen 5600x; Asus TUF Gaming B550-Plus; Geforce 1660 Super
Registered Linux User #381314
# killall humans |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
|