College Campus: Accessing my PC from my Laptop safely?
Linux - SecurityThis forum is for all security related questions.
Questions, tips, system compromises, firewalls, etc. are all included here.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
College Campus: Accessing my PC from my Laptop safely?
I am getting an MSI Wind for my laptop in college, because I wanted something small and light that I could easily carry around with me. I am also bringing my PC for gaming and using CD's, since the MSI Wind doesn't have a CD drive. I believe the dorms all have wired internet access, and the rest of the campus is on wi-fi.
Can anyone point me to some FAQ's or reading material for setting up SSH so that I can get to files from my PC when I am somewhere else on campus? Is there any risk when I use SSH that someone else on campus could get into my PC?
There isn't much need for a guide, all Linux distributions are going to ship with the SSH client, and running an SSH server is just going to be an option in the boot scripts. Most distributions are set with sane defaults for the server, but you should still look over them to make sure (you didn't mention the distros involved here).
Using strong passwords is an absolute must (but of course, it always is) and since you are going to always connect with the same client machine it would be a good idea to use passkeys so that the server only accepts logins from the Wind.
The SSH server itself is quite secure when configured properly. Brute forcing the password is next to impossible when using timeouts and a low simultaneous client count; but you could even augment that with an automated blacklist script to block the IPs of any machines that really don't get the message. In terms of vulnerabilities, there have been some DoS attacks against SSHD in the recent past, but if you are using an updated version I am not aware of any serious remote vulnerabilities.
When I was in school, I literally used ssh every day from my laptop on campus to my server at home. I could transfer papers and whatever else I needed. Safe and secure; no problems.
Thank you, are there any faq's I can read that can help me get this set up? I go through the netconfig setup, and it asks me to give a hostname and domain name, hostname is the think that pops up in a terminal, right? "user@hostname"
Is there a page for absolute newbies on how to start?
Distribution: Xubuntu 9.10, Gentoo 2.6.27 (AMD64), Darwin 9.0.0 (arm)
Posts: 1,152
Rep:
I wouldn't allow password logins at all just keys. that way no one can log in unless they have your laptop. you can even use sshfs to mount your desktop drive on the laptop over ssh and use it just like any other drive. I'll help you set it up if you'd like. do you have both computers? what distro are they running? are you going to have a static IP or dhcp for the desktop?
Last edited by johnson_steve; 08-15-2008 at 06:59 PM.
Both are dhcp running slackware, but I think I would rather prefer to try and figure this out on my own, so that I know what I broke if I change something. Is there a good website I can try?
Alright, I'm still trying to get my laptop's wifi working, until then, I did find a faq online that taught me how to make a public key, and I put that on my PC (slackware 12.1)
$ ssh-keygen -t dsa
The next part of the faq said to add it to the server: [here]
Using this command:
$ scp id_dsa.pub serverusername@192.168.1.40:./id_dsa.pub
Now, both PC's are running on DHCP at the moment, I'm not sure about how my college campus is going to be setup, but they said It will be wired ethernet in the dorms and wifi out of the dorms in some places around campus.
Say my login shell for my PC says user@pc while my laptop is user@laptop, so would my command be my user@alpha:./id_dsa.pub or would I use the ip I am using at the time? If I want to ssh into my laptop would I use
user@pc:~$ ssh user@laptop?
If I had my wifi working now I would try it out, but my PC is going in a box tomorrow to be shipped to college and it looks like the wifi drivers don't want to work for me any time soon.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.