georgopanos
asked on
Linux Server mapping drive using SSH key
Is it possible to map a SMB drive on a linux server by creating SSH keys and copying the public one to a windows 10 Machine so no username or password is ever required?
Or you can use SCP, a file transfer protocol similar to FTP, but relies on SSH for security
You could possibly try sshfs:
https://github.com/libfuse/sshfs
https://wiki.archlinux.org/index.php/SSHFS
https://github.com/libfuse/sshfs
https://wiki.archlinux.org/index.php/SSHFS
It he person is looking a way to mount a Windows share on a Linux system
Ssh can de used in lieu of a VPN, but it does not seem that the VPN is one of the things the asker is looking for.
Ssh can de used in lieu of a VPN, but it does not seem that the VPN is one of the things the asker is looking for.
ASKER
I would like to mount the drive on a Windows 10 Machine, from a Linux Server.
ASKER
If i connect the machine via sshfs, will the file transfer be slower or the same as mapping the drive?
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
You could also try autofs. https://help.ubuntu.com/community/Autofs#Note_on_.2Fnet_and_.2Fsmb
The issue the asker that seem to be missing is whether the person made requisite setting/configuration in smb.conf to have the Linux system within the same Windows group.
To not need auth, the user on Linux has to be mapped to a user on Windows that has rights to access the share
Smb.conf has to be configured to have the Linux in the same workgroup.
Linux works in a similar way to Windows workstations that are stand-Alone.
For Usera on workstation1 to access a share on wprkstation2 requires that Usera with exactly the same password exist on workstation2 or, the user will be prompted for credentials.
If you have an ad domain, there are examples that I've San integrate a Linux system into the SD.