SSHFS on Asus DSL-AC68U router
I have an Asus DSL-AC68U router. I can easily ssh to it:
ssh router
After having configured the proper options in .ssh/config:
Host router
Hostname ddnshostname
User myuser
KexAlgorithms +diffie-hellman-group1-sha1
In short, I already can access the router via SSH and FTP but I'd like the security and ease of use of SSHFS (or similar!).
However, I seem not to be able to mount stuff with SSHFS:
$ sshfs -o sshfs_debug router:/tmp/home/root/ testmount/ -d [1]
SSHFS version 2.6
FUSE library version: 2.9.5
nullpath_ok: 0
nopath: 0
utime_omit_ok: 0
executing <ssh> <-x> <-a> <-oClearAllForwardings=yes> <-2> <casatrieste> <-s> <sftp>
sh: /opt/libexec/sftp-server: not found
remote host has disconnected
I found out this is because sftp-server in my router seems to be displaced or missing. However, I cannot find neither sftp_server nor ssh_config anywhere in the router using find / | grep ssh_config
.
It seems like I'm missing the sftp-server
package completely. Is there any other way to allow me to use SSHFS? I can already access the router via ftp, but I'd like to mount the file system remotely.
I should probably install openssh-sftp-server
. However this means I should install optware and I'd prefer to avoid that.
How can I mount SSHFS folders from this router remotely?
sftp router sshfs
add a comment |
I have an Asus DSL-AC68U router. I can easily ssh to it:
ssh router
After having configured the proper options in .ssh/config:
Host router
Hostname ddnshostname
User myuser
KexAlgorithms +diffie-hellman-group1-sha1
In short, I already can access the router via SSH and FTP but I'd like the security and ease of use of SSHFS (or similar!).
However, I seem not to be able to mount stuff with SSHFS:
$ sshfs -o sshfs_debug router:/tmp/home/root/ testmount/ -d [1]
SSHFS version 2.6
FUSE library version: 2.9.5
nullpath_ok: 0
nopath: 0
utime_omit_ok: 0
executing <ssh> <-x> <-a> <-oClearAllForwardings=yes> <-2> <casatrieste> <-s> <sftp>
sh: /opt/libexec/sftp-server: not found
remote host has disconnected
I found out this is because sftp-server in my router seems to be displaced or missing. However, I cannot find neither sftp_server nor ssh_config anywhere in the router using find / | grep ssh_config
.
It seems like I'm missing the sftp-server
package completely. Is there any other way to allow me to use SSHFS? I can already access the router via ftp, but I'd like to mount the file system remotely.
I should probably install openssh-sftp-server
. However this means I should install optware and I'd prefer to avoid that.
How can I mount SSHFS folders from this router remotely?
sftp router sshfs
alternatives to consider: usersync
to fetch a copy of the remote, edit it locally, thenrsync
it back. Or use an editor likeemacs
which has atramp
mode which lets you edit/browse files remotely pretty transparently.
– meuh
Mar 18 '16 at 17:10
add a comment |
I have an Asus DSL-AC68U router. I can easily ssh to it:
ssh router
After having configured the proper options in .ssh/config:
Host router
Hostname ddnshostname
User myuser
KexAlgorithms +diffie-hellman-group1-sha1
In short, I already can access the router via SSH and FTP but I'd like the security and ease of use of SSHFS (or similar!).
However, I seem not to be able to mount stuff with SSHFS:
$ sshfs -o sshfs_debug router:/tmp/home/root/ testmount/ -d [1]
SSHFS version 2.6
FUSE library version: 2.9.5
nullpath_ok: 0
nopath: 0
utime_omit_ok: 0
executing <ssh> <-x> <-a> <-oClearAllForwardings=yes> <-2> <casatrieste> <-s> <sftp>
sh: /opt/libexec/sftp-server: not found
remote host has disconnected
I found out this is because sftp-server in my router seems to be displaced or missing. However, I cannot find neither sftp_server nor ssh_config anywhere in the router using find / | grep ssh_config
.
It seems like I'm missing the sftp-server
package completely. Is there any other way to allow me to use SSHFS? I can already access the router via ftp, but I'd like to mount the file system remotely.
I should probably install openssh-sftp-server
. However this means I should install optware and I'd prefer to avoid that.
How can I mount SSHFS folders from this router remotely?
sftp router sshfs
I have an Asus DSL-AC68U router. I can easily ssh to it:
ssh router
After having configured the proper options in .ssh/config:
Host router
Hostname ddnshostname
User myuser
KexAlgorithms +diffie-hellman-group1-sha1
In short, I already can access the router via SSH and FTP but I'd like the security and ease of use of SSHFS (or similar!).
However, I seem not to be able to mount stuff with SSHFS:
$ sshfs -o sshfs_debug router:/tmp/home/root/ testmount/ -d [1]
SSHFS version 2.6
FUSE library version: 2.9.5
nullpath_ok: 0
nopath: 0
utime_omit_ok: 0
executing <ssh> <-x> <-a> <-oClearAllForwardings=yes> <-2> <casatrieste> <-s> <sftp>
sh: /opt/libexec/sftp-server: not found
remote host has disconnected
I found out this is because sftp-server in my router seems to be displaced or missing. However, I cannot find neither sftp_server nor ssh_config anywhere in the router using find / | grep ssh_config
.
It seems like I'm missing the sftp-server
package completely. Is there any other way to allow me to use SSHFS? I can already access the router via ftp, but I'd like to mount the file system remotely.
I should probably install openssh-sftp-server
. However this means I should install optware and I'd prefer to avoid that.
How can I mount SSHFS folders from this router remotely?
sftp router sshfs
sftp router sshfs
asked Mar 18 '16 at 9:32
AF7AF7
433316
433316
alternatives to consider: usersync
to fetch a copy of the remote, edit it locally, thenrsync
it back. Or use an editor likeemacs
which has atramp
mode which lets you edit/browse files remotely pretty transparently.
– meuh
Mar 18 '16 at 17:10
add a comment |
alternatives to consider: usersync
to fetch a copy of the remote, edit it locally, thenrsync
it back. Or use an editor likeemacs
which has atramp
mode which lets you edit/browse files remotely pretty transparently.
– meuh
Mar 18 '16 at 17:10
alternatives to consider: use
rsync
to fetch a copy of the remote, edit it locally, then rsync
it back. Or use an editor like emacs
which has a tramp
mode which lets you edit/browse files remotely pretty transparently.– meuh
Mar 18 '16 at 17:10
alternatives to consider: use
rsync
to fetch a copy of the remote, edit it locally, then rsync
it back. Or use an editor like emacs
which has a tramp
mode which lets you edit/browse files remotely pretty transparently.– meuh
Mar 18 '16 at 17:10
add a comment |
3 Answers
3
active
oldest
votes
SSHFS is using SFTP. If the server does not support SFTP, it won't work.
You need to install the sftp-server
on router and configure it if you want to use it SFTP/SSHFS. Period. What is the question?
That's what I gathered. The question is if what I understood is correct (it seems so) and if there is any way around the issue other than installingoptware
which I fear may void my warranty. Or, alternatively, if there is any other equivalent solution other than SSHFS.
– AF7
Mar 18 '16 at 10:06
You might be able to make NFS working, if it is supported by the router..
– Jakuje
Mar 18 '16 at 10:42
I don't think it is unfortunately, or I'd be very happy indeed, I love NFS. It is supported by the Merlin firmware which however does not seem to support my router.
– AF7
Mar 18 '16 at 11:02
add a comment |
You can use scp directly anywhere there is ssh:
https://en.wikipedia.org/wiki/Secure_copy
There is nothing to mount. There are also tools that use scp to provide a directory-oriented view. I use WinSCP off Windows, because it understands PuTTy credentials.
Yes, I can do that (I use the standard KDE file manager, Dolphin, which can browse remotely with SSH using thefish://
KIO slave), but that's not what I wanted to do... which I now believe is impossible on my router anyway.
– AF7
Feb 22 '18 at 14:18
add a comment |
I had a similar question and solved it by installing Entware:
To install Optware on your RT-AC68U in three simple steps:
- Mount the ext4 formatted disk;
- Go to router’s web interface (router.asus.com) -> USB Application and install Download Master;
- Once successfully installed, uninstall it (not disable). The Optware package will remain installed, but just the Download Master will be removed.
Uninstall the Download Master because it is incompatible with transmission for Optware, a better alternative for the torrent client.
After install Optware, install SSH server:
ipkg install openssh-sftp-server
sshfs is now possible
add a comment |
Your Answer
StackExchange.ready(function() {
var channelOptions = {
tags: "".split(" "),
id: "106"
};
initTagRenderer("".split(" "), "".split(" "), channelOptions);
StackExchange.using("externalEditor", function() {
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled) {
StackExchange.using("snippets", function() {
createEditor();
});
}
else {
createEditor();
}
});
function createEditor() {
StackExchange.prepareEditor({
heartbeatType: 'answer',
autoActivateHeartbeat: false,
convertImagesToLinks: false,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: null,
bindNavPrevention: true,
postfix: "",
imageUploader: {
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
},
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
});
}
});
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2funix.stackexchange.com%2fquestions%2f270632%2fsshfs-on-asus-dsl-ac68u-router%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
3 Answers
3
active
oldest
votes
3 Answers
3
active
oldest
votes
active
oldest
votes
active
oldest
votes
SSHFS is using SFTP. If the server does not support SFTP, it won't work.
You need to install the sftp-server
on router and configure it if you want to use it SFTP/SSHFS. Period. What is the question?
That's what I gathered. The question is if what I understood is correct (it seems so) and if there is any way around the issue other than installingoptware
which I fear may void my warranty. Or, alternatively, if there is any other equivalent solution other than SSHFS.
– AF7
Mar 18 '16 at 10:06
You might be able to make NFS working, if it is supported by the router..
– Jakuje
Mar 18 '16 at 10:42
I don't think it is unfortunately, or I'd be very happy indeed, I love NFS. It is supported by the Merlin firmware which however does not seem to support my router.
– AF7
Mar 18 '16 at 11:02
add a comment |
SSHFS is using SFTP. If the server does not support SFTP, it won't work.
You need to install the sftp-server
on router and configure it if you want to use it SFTP/SSHFS. Period. What is the question?
That's what I gathered. The question is if what I understood is correct (it seems so) and if there is any way around the issue other than installingoptware
which I fear may void my warranty. Or, alternatively, if there is any other equivalent solution other than SSHFS.
– AF7
Mar 18 '16 at 10:06
You might be able to make NFS working, if it is supported by the router..
– Jakuje
Mar 18 '16 at 10:42
I don't think it is unfortunately, or I'd be very happy indeed, I love NFS. It is supported by the Merlin firmware which however does not seem to support my router.
– AF7
Mar 18 '16 at 11:02
add a comment |
SSHFS is using SFTP. If the server does not support SFTP, it won't work.
You need to install the sftp-server
on router and configure it if you want to use it SFTP/SSHFS. Period. What is the question?
SSHFS is using SFTP. If the server does not support SFTP, it won't work.
You need to install the sftp-server
on router and configure it if you want to use it SFTP/SSHFS. Period. What is the question?
answered Mar 18 '16 at 9:39
JakujeJakuje
16.4k53154
16.4k53154
That's what I gathered. The question is if what I understood is correct (it seems so) and if there is any way around the issue other than installingoptware
which I fear may void my warranty. Or, alternatively, if there is any other equivalent solution other than SSHFS.
– AF7
Mar 18 '16 at 10:06
You might be able to make NFS working, if it is supported by the router..
– Jakuje
Mar 18 '16 at 10:42
I don't think it is unfortunately, or I'd be very happy indeed, I love NFS. It is supported by the Merlin firmware which however does not seem to support my router.
– AF7
Mar 18 '16 at 11:02
add a comment |
That's what I gathered. The question is if what I understood is correct (it seems so) and if there is any way around the issue other than installingoptware
which I fear may void my warranty. Or, alternatively, if there is any other equivalent solution other than SSHFS.
– AF7
Mar 18 '16 at 10:06
You might be able to make NFS working, if it is supported by the router..
– Jakuje
Mar 18 '16 at 10:42
I don't think it is unfortunately, or I'd be very happy indeed, I love NFS. It is supported by the Merlin firmware which however does not seem to support my router.
– AF7
Mar 18 '16 at 11:02
That's what I gathered. The question is if what I understood is correct (it seems so) and if there is any way around the issue other than installing
optware
which I fear may void my warranty. Or, alternatively, if there is any other equivalent solution other than SSHFS.– AF7
Mar 18 '16 at 10:06
That's what I gathered. The question is if what I understood is correct (it seems so) and if there is any way around the issue other than installing
optware
which I fear may void my warranty. Or, alternatively, if there is any other equivalent solution other than SSHFS.– AF7
Mar 18 '16 at 10:06
You might be able to make NFS working, if it is supported by the router..
– Jakuje
Mar 18 '16 at 10:42
You might be able to make NFS working, if it is supported by the router..
– Jakuje
Mar 18 '16 at 10:42
I don't think it is unfortunately, or I'd be very happy indeed, I love NFS. It is supported by the Merlin firmware which however does not seem to support my router.
– AF7
Mar 18 '16 at 11:02
I don't think it is unfortunately, or I'd be very happy indeed, I love NFS. It is supported by the Merlin firmware which however does not seem to support my router.
– AF7
Mar 18 '16 at 11:02
add a comment |
You can use scp directly anywhere there is ssh:
https://en.wikipedia.org/wiki/Secure_copy
There is nothing to mount. There are also tools that use scp to provide a directory-oriented view. I use WinSCP off Windows, because it understands PuTTy credentials.
Yes, I can do that (I use the standard KDE file manager, Dolphin, which can browse remotely with SSH using thefish://
KIO slave), but that's not what I wanted to do... which I now believe is impossible on my router anyway.
– AF7
Feb 22 '18 at 14:18
add a comment |
You can use scp directly anywhere there is ssh:
https://en.wikipedia.org/wiki/Secure_copy
There is nothing to mount. There are also tools that use scp to provide a directory-oriented view. I use WinSCP off Windows, because it understands PuTTy credentials.
Yes, I can do that (I use the standard KDE file manager, Dolphin, which can browse remotely with SSH using thefish://
KIO slave), but that's not what I wanted to do... which I now believe is impossible on my router anyway.
– AF7
Feb 22 '18 at 14:18
add a comment |
You can use scp directly anywhere there is ssh:
https://en.wikipedia.org/wiki/Secure_copy
There is nothing to mount. There are also tools that use scp to provide a directory-oriented view. I use WinSCP off Windows, because it understands PuTTy credentials.
You can use scp directly anywhere there is ssh:
https://en.wikipedia.org/wiki/Secure_copy
There is nothing to mount. There are also tools that use scp to provide a directory-oriented view. I use WinSCP off Windows, because it understands PuTTy credentials.
answered Feb 21 '18 at 18:06
muchandrmuchandr
111
111
Yes, I can do that (I use the standard KDE file manager, Dolphin, which can browse remotely with SSH using thefish://
KIO slave), but that's not what I wanted to do... which I now believe is impossible on my router anyway.
– AF7
Feb 22 '18 at 14:18
add a comment |
Yes, I can do that (I use the standard KDE file manager, Dolphin, which can browse remotely with SSH using thefish://
KIO slave), but that's not what I wanted to do... which I now believe is impossible on my router anyway.
– AF7
Feb 22 '18 at 14:18
Yes, I can do that (I use the standard KDE file manager, Dolphin, which can browse remotely with SSH using the
fish://
KIO slave), but that's not what I wanted to do... which I now believe is impossible on my router anyway.– AF7
Feb 22 '18 at 14:18
Yes, I can do that (I use the standard KDE file manager, Dolphin, which can browse remotely with SSH using the
fish://
KIO slave), but that's not what I wanted to do... which I now believe is impossible on my router anyway.– AF7
Feb 22 '18 at 14:18
add a comment |
I had a similar question and solved it by installing Entware:
To install Optware on your RT-AC68U in three simple steps:
- Mount the ext4 formatted disk;
- Go to router’s web interface (router.asus.com) -> USB Application and install Download Master;
- Once successfully installed, uninstall it (not disable). The Optware package will remain installed, but just the Download Master will be removed.
Uninstall the Download Master because it is incompatible with transmission for Optware, a better alternative for the torrent client.
After install Optware, install SSH server:
ipkg install openssh-sftp-server
sshfs is now possible
add a comment |
I had a similar question and solved it by installing Entware:
To install Optware on your RT-AC68U in three simple steps:
- Mount the ext4 formatted disk;
- Go to router’s web interface (router.asus.com) -> USB Application and install Download Master;
- Once successfully installed, uninstall it (not disable). The Optware package will remain installed, but just the Download Master will be removed.
Uninstall the Download Master because it is incompatible with transmission for Optware, a better alternative for the torrent client.
After install Optware, install SSH server:
ipkg install openssh-sftp-server
sshfs is now possible
add a comment |
I had a similar question and solved it by installing Entware:
To install Optware on your RT-AC68U in three simple steps:
- Mount the ext4 formatted disk;
- Go to router’s web interface (router.asus.com) -> USB Application and install Download Master;
- Once successfully installed, uninstall it (not disable). The Optware package will remain installed, but just the Download Master will be removed.
Uninstall the Download Master because it is incompatible with transmission for Optware, a better alternative for the torrent client.
After install Optware, install SSH server:
ipkg install openssh-sftp-server
sshfs is now possible
I had a similar question and solved it by installing Entware:
To install Optware on your RT-AC68U in three simple steps:
- Mount the ext4 formatted disk;
- Go to router’s web interface (router.asus.com) -> USB Application and install Download Master;
- Once successfully installed, uninstall it (not disable). The Optware package will remain installed, but just the Download Master will be removed.
Uninstall the Download Master because it is incompatible with transmission for Optware, a better alternative for the torrent client.
After install Optware, install SSH server:
ipkg install openssh-sftp-server
sshfs is now possible
answered 10 mins ago
gatorbackgatorback
272111
272111
add a comment |
add a comment |
Thanks for contributing an answer to Unix & Linux Stack Exchange!
- Please be sure to answer the question. Provide details and share your research!
But avoid …
- Asking for help, clarification, or responding to other answers.
- Making statements based on opinion; back them up with references or personal experience.
To learn more, see our tips on writing great answers.
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2funix.stackexchange.com%2fquestions%2f270632%2fsshfs-on-asus-dsl-ac68u-router%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
alternatives to consider: use
rsync
to fetch a copy of the remote, edit it locally, thenrsync
it back. Or use an editor likeemacs
which has atramp
mode which lets you edit/browse files remotely pretty transparently.– meuh
Mar 18 '16 at 17:10