How to add/remove drives to Windows OpenSSH SFTP server?
up vote
2
down vote
favorite
I've setup the built-in OpenSSH in Windows 10 and connected remotely via WinSCP SFTP protocol. I seem to have access to all folders in my C:
drive, but I cannot access the external drives of my computer. Going to the "root" folder just lists the C:
drive. I tried creating a soft directory symlinks in a directory that I can access, but that doesn't seem to work. They appear as files in WinSCP and I cannot access them. How can I add them? Also, is there a way to restrict access to certain folders if I wanted to share access to only certain folders of my server?
windows-10 openssh sftp winscp
New contributor
add a comment |
up vote
2
down vote
favorite
I've setup the built-in OpenSSH in Windows 10 and connected remotely via WinSCP SFTP protocol. I seem to have access to all folders in my C:
drive, but I cannot access the external drives of my computer. Going to the "root" folder just lists the C:
drive. I tried creating a soft directory symlinks in a directory that I can access, but that doesn't seem to work. They appear as files in WinSCP and I cannot access them. How can I add them? Also, is there a way to restrict access to certain folders if I wanted to share access to only certain folders of my server?
windows-10 openssh sftp winscp
New contributor
add a comment |
up vote
2
down vote
favorite
up vote
2
down vote
favorite
I've setup the built-in OpenSSH in Windows 10 and connected remotely via WinSCP SFTP protocol. I seem to have access to all folders in my C:
drive, but I cannot access the external drives of my computer. Going to the "root" folder just lists the C:
drive. I tried creating a soft directory symlinks in a directory that I can access, but that doesn't seem to work. They appear as files in WinSCP and I cannot access them. How can I add them? Also, is there a way to restrict access to certain folders if I wanted to share access to only certain folders of my server?
windows-10 openssh sftp winscp
New contributor
I've setup the built-in OpenSSH in Windows 10 and connected remotely via WinSCP SFTP protocol. I seem to have access to all folders in my C:
drive, but I cannot access the external drives of my computer. Going to the "root" folder just lists the C:
drive. I tried creating a soft directory symlinks in a directory that I can access, but that doesn't seem to work. They appear as files in WinSCP and I cannot access them. How can I add them? Also, is there a way to restrict access to certain folders if I wanted to share access to only certain folders of my server?
windows-10 openssh sftp winscp
windows-10 openssh sftp winscp
New contributor
New contributor
edited Nov 14 at 8:03
Martin Prikryl
10.6k43173
10.6k43173
New contributor
asked Nov 13 at 21:04
Mike
132
132
New contributor
New contributor
add a comment |
add a comment |
1 Answer
1
active
oldest
votes
up vote
0
down vote
accepted
While some Windows SFTP servers do implement a virtual root folder which lists available drives, Win32-OpenSSH does not. It redirects the root folder /
to /C:/
(or maybe to a system drive).
If you want to visit another drive, you have to manually change a working directory.
In WinSCP GUI, you can do that using "Open Directory" command and typing a path to the desired drive, like
/D:/
.
In command-line SFTP clients, like OpenSSH
sftp
, PuTTYpsftp
or WinSCP scripting, you can usecd
command, like:
cd /D:/
There's actually WinSCP FAQ for How do I change drive on the remote panel?
Regarding your attempt to solve this using a symlink: A symlink really shows as a file in WinSCP (as the server presents it as an unknown file type). But a directory junction shows as a directory (the server presents it as a regular directory, not a link).
add a comment |
1 Answer
1
active
oldest
votes
1 Answer
1
active
oldest
votes
active
oldest
votes
active
oldest
votes
up vote
0
down vote
accepted
While some Windows SFTP servers do implement a virtual root folder which lists available drives, Win32-OpenSSH does not. It redirects the root folder /
to /C:/
(or maybe to a system drive).
If you want to visit another drive, you have to manually change a working directory.
In WinSCP GUI, you can do that using "Open Directory" command and typing a path to the desired drive, like
/D:/
.
In command-line SFTP clients, like OpenSSH
sftp
, PuTTYpsftp
or WinSCP scripting, you can usecd
command, like:
cd /D:/
There's actually WinSCP FAQ for How do I change drive on the remote panel?
Regarding your attempt to solve this using a symlink: A symlink really shows as a file in WinSCP (as the server presents it as an unknown file type). But a directory junction shows as a directory (the server presents it as a regular directory, not a link).
add a comment |
up vote
0
down vote
accepted
While some Windows SFTP servers do implement a virtual root folder which lists available drives, Win32-OpenSSH does not. It redirects the root folder /
to /C:/
(or maybe to a system drive).
If you want to visit another drive, you have to manually change a working directory.
In WinSCP GUI, you can do that using "Open Directory" command and typing a path to the desired drive, like
/D:/
.
In command-line SFTP clients, like OpenSSH
sftp
, PuTTYpsftp
or WinSCP scripting, you can usecd
command, like:
cd /D:/
There's actually WinSCP FAQ for How do I change drive on the remote panel?
Regarding your attempt to solve this using a symlink: A symlink really shows as a file in WinSCP (as the server presents it as an unknown file type). But a directory junction shows as a directory (the server presents it as a regular directory, not a link).
add a comment |
up vote
0
down vote
accepted
up vote
0
down vote
accepted
While some Windows SFTP servers do implement a virtual root folder which lists available drives, Win32-OpenSSH does not. It redirects the root folder /
to /C:/
(or maybe to a system drive).
If you want to visit another drive, you have to manually change a working directory.
In WinSCP GUI, you can do that using "Open Directory" command and typing a path to the desired drive, like
/D:/
.
In command-line SFTP clients, like OpenSSH
sftp
, PuTTYpsftp
or WinSCP scripting, you can usecd
command, like:
cd /D:/
There's actually WinSCP FAQ for How do I change drive on the remote panel?
Regarding your attempt to solve this using a symlink: A symlink really shows as a file in WinSCP (as the server presents it as an unknown file type). But a directory junction shows as a directory (the server presents it as a regular directory, not a link).
While some Windows SFTP servers do implement a virtual root folder which lists available drives, Win32-OpenSSH does not. It redirects the root folder /
to /C:/
(or maybe to a system drive).
If you want to visit another drive, you have to manually change a working directory.
In WinSCP GUI, you can do that using "Open Directory" command and typing a path to the desired drive, like
/D:/
.
In command-line SFTP clients, like OpenSSH
sftp
, PuTTYpsftp
or WinSCP scripting, you can usecd
command, like:
cd /D:/
There's actually WinSCP FAQ for How do I change drive on the remote panel?
Regarding your attempt to solve this using a symlink: A symlink really shows as a file in WinSCP (as the server presents it as an unknown file type). But a directory junction shows as a directory (the server presents it as a regular directory, not a link).
edited Nov 14 at 8:17
answered Nov 14 at 8:00
Martin Prikryl
10.6k43173
10.6k43173
add a comment |
add a comment |
Mike is a new contributor. Be nice, and check out our Code of Conduct.
Mike is a new contributor. Be nice, and check out our Code of Conduct.
Mike is a new contributor. Be nice, and check out our Code of Conduct.
Mike is a new contributor. Be nice, and check out our Code of Conduct.
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%2fsuperuser.com%2fquestions%2f1375141%2fhow-to-add-remove-drives-to-windows-openssh-sftp-server%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