PDA

View Full Version : ATTN: Bacon / Pro Linux Users



Kalub
July 7th, 2009, 06:46 PM
Hey, at work I have a server that hosts things I need to access from home. The server only accepts requests to open files from computers inside the network. So I SSH into my machine, how can I use SSH to tell my machine to go explore to "\\192.168.4.2\Common\Kalub" (What I would type in windows Run command on my other work machine) and then open it on my home machine.


Basically I need to use ssh to get through the firewall. My stuff at work is all Linux, and my stuff at home is Windows, so I don't think I can scp... even if I knew how to do that.

Halp :eyesroll:

klange
July 7th, 2009, 07:32 PM
This a Samba (read: "Windows") file share?


smbmount //192.168.4.2/Common /mnt -o username=Kalub,password=*PASSWORD*Then go into /mnt/Kalub. You may need to run it as root... If you don't have Samba, you'll need to get it.

Kalub
July 8th, 2009, 09:32 AM
Yep, it's a Windows share server file bullshit thing. :p Let me try this and I'll edit this post with the news


I dunno if this makes a difference, but I'm running CentOS 5.3 and It's pissed.


-bash: smbmount: command not found


Any other ideas? (Oh, and yes Samba is installed)

Kalub
July 8th, 2009, 09:40 AM
UPDATE!


I got it working, thanks for the help Bacon :)