How to access Ubuntu laptop remotely?
john_s
Posts: 369
While learning a bit of Ubuntu flavour I came across a need to access it from a distant location i.e. remotely.
That particular laptop uses a static IP address, and I'd like to remotely replace a file in one of the Ubuntu's directories.
What would you recommend - is there a simple way to do it ?
Thanks,
John
That particular laptop uses a static IP address, and I'd like to remotely replace a file in one of the Ubuntu's directories.
What would you recommend - is there a simple way to do it ?
Thanks,
John
Comments
If you want to replace a file in your /home directory, no additional security manipulation would be needed. But if you wanted to do more low level administrative work, you would have to login via the 'sudo' command.
http://www.chiark.greenend.org.uk/~sgtatham/putty/
No, its approx an hour drive distance away.
Yes, that will be the case (mostly jpg and txt files).
EDIT: I just installed vsftpd and within 2 minutes I'm FTPing between my Win box to my Linux box using the FileZilla FTP Cient.
http://www.linuxhomenetworking.com/wiki/index.php/Quick_HOWTO_:_Ch15_:_Linux_FTP_Server_Setup
http://www.nomachine.com/products.php
-dan
SSH is good for running commands remotely via command line, and SFTP is good for moving files between two computers. It's pretty simple.
As a side note, if the computer that you want to access is behind a firewall, then from that computer you can reverse SSH into a public server, and then you'll be able to SSH into the restricted machine from another computer via the public server. It's handy when you have no control over the routers.
I guess it's encrypted wireless as it was the ISP guy who did the original wireless Access Point installation. I provided them with laptop's MAC address and they used some kind of out-of-the-box contraption with antenna to establish internet link to their ISP tower located miles away yet clearly visible above the horizon. I just hooked up that Linux laptop using a cable from its ethernet port to their POE little box and it works.
You really need the end-to-end encryption provided by SSL (e.g. via some kind of VPN) or SSH. The built-in support for mounting remote filesystems via ssh in Nautilus, as suggested by SRLM, is easy and secure.
Alternatively, instead of FTP it would be much better to use SFTP. SFTP emulates the FTP user experience (but not the protocol) over SSH.
-Tor
This would be encrypted, like ssh - but you would be viewed as a member of the network at the other end.
I must admit I am having a bit of a problem with terminology though as Wikipedia includes SSH as one of many VPN choices.
http://en.wikipedia.org/wiki/Virtual_private_network
The main idea is that you tunnel through the web to your target computer with a secure, encrypted link and are able to use the file system. Some are GUI related, but that just makes them more complex.
Great - so I need to travel to that remote site where that laptop is located, and do some manual install of some kind of 'VPN client' on that machine, correct?
Sounds like a plan - fortunately I have another Ubuntu laptop next to me locally to experiment with before my trip to that remote one. Thanks, John
You can use PUTTY, which now includes SSH as a feature and that will install on a Windows, an Apple, or a Linux machine. Visit the site and download which you want.
All these programs create a secure tunnel to the other computer. The old way, was TELNET - but anyone could see your passwords and what you were doing.
If you feel that you need an FTP application, Ubuntu has one that tunnels as well. It is NOT called SFTP. Why not try the Ubuntu Forum for detailed support? I specifically avoided the GUI type remote interface as it is more complex to install. If SSH does everything you need, there really is no need to make this more complex. After all, if you understand the security, it is likely to be more secure.
If you want, you can have the Ubuntu machine turn on and off the SSHD at certain times or on certain days of the week. Linux is flexible and likely to be more secure than alternatives, just because you understand the risks.
http://www.openssh.com/
I'd just try SSH or Putty-SSH and see if you can do what you want with it. You can get that up and running in 15 minutes, easily
SSHD provides an open port for SSH, but it sends back a verification to your computer before opening the port to further exchanges. Then all data is encrypted, so it cannot be snooped - including logins. It would take quite a bit to hack into because it isn't merely opening a port to your remote computer, there is some sort of handshaking involved.