WinXp: Mounting a Z: drive from a distant NFS&/OrSamba Linux server via using SSH
Machine 1, Internet: LINUX Box with samba / nfs exports, being a hardware firewalling (port 22 open (SSH))
Machine 2, Internet: Windows XP box :( with putty How can Machine 2 have a z:\ containing the \home\user of machine 1 which is exported ? (via SSH) thanks !! |
If you had a linux client you could use sshfs to mount your home directory remotely. You can use scp or sftp to copy files back and forth. The smb protocol normally uses more than one port. You have to configure the remote samba server and your client to use only one port before you can tunnel through ssh, with limited success.
See the Samba 3 Reference & HOWTO for more information. Other than that, you might be able to find a something using Google. But it would be better to set up a VPN connection between the two computers. Referring to a Z:/ drive doesn't make that much sense because that is just a DOS alias for a smb service on the windows client. |
Quote:
is it nice way ? |
Using scp or sftp would be a lot easier. You don't have to remove your work computer from the work network.
Transferring files to and from work is not a good idea and usually not permitted. Make sure that what you are doing isn't prohibited. If it is, it could be grounds for termination. |
Quote:
He didn't say that this transfer is to be between work and home. But assuming that you guessed right, he didn't say what occupation he has or how big his employer is. Rules vary widely from employer to employer and from occupation to occupation. I used to setup an encrypted link with OpenVPN so I could access all the machines at home from work and the internal work network from home. BTW, OpenVPN is one possible answer to the question, although it doesn't use SSH. |
All times are GMT -5. The time now is 01:54 AM. |