|
||||||
| Forums FAQ | Members List | Search | Today's Posts | Mark Forums Read |
| Looking For Something Other Than Support? If you are looking for manuals, books, repositories, hardware, software, etc. this is the place to see if someone can help you find it. |
![]() |
|
|
LinkBack | Thread Tools | Display Modes |
|
||||
|
Hi
You can use 'scp' for the transfers. This requires to open port 22 at the receiving end. Make sure that you have strong passwords in use. 'man scp' will show you how it works. |
|
||||
|
* vodoo wrote, On 09/25/2009 12:16 PM:
> Hi > > You can use 'scp' for the transfers. This requires to open port 22 at > the receiving end. Make sure that you have strong passwords in use. 'man > scp' will show you how it works. That's what I'd do as well. Let me add a few things: - It requires the sshd to run on the parents' box. If it doesn't run yet and you enable it now, you need to adjust the SuSEFirewall accordingly; just enable ssh as an allowed service, using Yast's firewall configuration module. - Keep an eye on the logs. ssh is a possible target for brute force password attacks. It often helps to use a different port. You said your parents are on DSL: If they have a router, you want to forward some obscure port (check iana.org) to their local machine's port 22 and use this obscure (high) port when you connect to their machine. - You can use gFTP as a nice and handy scp client on your side. Uwe |
|
||||
|
Thank you, both of you, for these very useful hints.
__________________
Article 19. * Everyone has the right to freedom of opinion and expression; this right includes freedom to hold opinions without interference and to seek, receive and impart information and ideas through any media and regardless of frontiers. |
|
|||
|
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1 A few others. Unless your parents' system is literally on the Internet directly (vs. having a DSL modem with the public IP and then being in a NAT'd environment behind that) ssh/scp will not work unless you forward the port. If you do that then great but keep that in mind. If your parents' system is directly exposed to the network then this is moot but I never like doing that with any system. Changing your SSH port to something else (2222 instead of 22, for example) is sometimes done to get rid of most attacks (choose your own port number). Also always disable 'root' login directly.... always. If you do this attackers must guess not only the password but the username since the only known username is not allowed. This should be done by default, in my opinion (/etc/ssh/sshd_config uncomment the PermitRootLogin option and set it to 'no' vs. 'yes'). To get into your parents' system I would recommend a VPN option. This can be setup trivially on both windows and Linux and lets you use whatever file sharing protocol you prefer. OpenVPN is easy to setup additional boxes and setting up the server isn't that bad either. Now for the grand finale.... I've been impressed by this little gizmo, though it would require a dedicated box (or VM) to set it up. This could be something on your end that your parents VPN (automatically) into if nothing else: http://www.amahi.org/ Basically it has the file sharing stuff, the VPN stuff, and is free. Drop in a DVD, let it do its thing, have a dedicated server. All point/click-like I'm told. Good luck. stakanov wrote: > Thank you, both of you, for these very useful hints. > > -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.9 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/ iQIcBAEBAgAGBQJKvNPJAAoJEF+XTK08PnB5taAP/RsHBdbtVOx6sMoECNQKU5Kp W2rQFMObg0w4xlx798qd6+W6KvV9/3N52QZtLiHaog+7Z43Ej7LvlWJV7fNqcdIm zAu246OkDH41tksFQIrr7Wl3cbT0W/1LI9qquQwFYNpjVcSF6JbPMTuBnkyRFKFo an3JOIWQRSPkRM8X9RW4WipYO5IkA74IHXClu2fnjc6UoR4Z4S 7P1y5knWktgGKb FkY/20IbcQBoWzRofiWr7rhIDN0Vs34DPYgs4LcaAqSr4HtdarMWwI cPHd2RrrMk L+/bsChNzgMgxBewnzh5boFkq/hXD3VZ+K0EA9UayX9UDfB6L3wmWJHBOj3vvKnK MyJFfxCvFmz4avOjr7ioc0+hpsgdTKA1Ah5HxqFk+x6/VXMcTLmiZp/ekycllUKF YaAIjluZf7maflcu765elRd+63MB5308CIuCG/aSKZgGDaLjADtxo/1pxvI866GZ 3kdtsfaqoMAhdoPRxQizk/6dLO+rglvX+EtOGd9rKSMmK9QhUOhYP9HQhv6uPFIg bRBmSxZJm0PtLJdU+lTz3fz0WMVniDNU4mfmNhtXq1PumUJLoi 0VnckBpwQWkuye zGeSi+Svvvd7Ip1wps/Y7u9Keu4kTMc8O7Wcn0cB5D0zL93RzjLsM/yN53cP7zSQ ztU6yXjusNMNdCKpUbSX =4ASp -----END PGP SIGNATURE----- |
|
||||
|
You also might want to change the default ssh port from 22 to something a lot higher as well. This avoids all the script kiddies and also keeps your log sizes down greatly!
I know, people are going to say that it's not a security issue, but whenever I run my public facing ssh server on port 22, the logs get massive very quickly from script and password guessing programmes trying to guess passwords! These logs can fill up a smallish / partition in a very short time! Also to overcome the dynamic IP problem, register a free domain name at dyndns.com (or whatever your choice is) , then either set their modem/router to update it automatically (some older/cheaper modem/routers do not have this feature), or set a cron script on their machine to run one of the opensource dynamic-IP update progs. I've done it that way for many years and it is a rock solid method. For a nice GUI interface over ssh, use krusader, available from the standard suse repos. You can create a simple shortcut for a fish (ssh) connection and transfer files the "normal" GUI way if that is what you prefer .
__________________
HP dv6645, Nvidia 8400m-gs, KDE 4.
|
|
||||
|
I am baffled. Thanks to all. I will have to print this out and work on it. But it seems very attractive (and I spoke to my parents, they were enthusiastic).
So seems that I will come to a solution with this. For me the port forwarding appears essential, since all the rest for me, I think, would be risky business. The router is a brand new Fritz! box. So it should have the latest and greatest.... But really I am quite positively astonished about the good prospects.
__________________
Article 19. * Everyone has the right to freedom of opinion and expression; this right includes freedom to hold opinions without interference and to seek, receive and impart information and ideas through any media and regardless of frontiers. |
|
||||
|
Here's a brief overview of what you need to do -
Computer1 = your Mother and Father's computer Computer2 = your own computer 1. Change computer1 to use a static IP address through Yast 2. Setup SSHD on computer1 through Yast 3. Create Dyndns domain name at dyndns.com 4. Configure your Fritzbox to forward ssh port to computer1 5. Setup Fritzbox Dyndns auto update feature 6. Setup Firewall on computer1 through Yast 7. Install Krusader on computer2 It sounds a bit scary and overwhelming, but it will be quite easy if you do it step by step, and ask for help here for each step .
__________________
HP dv6645, Nvidia 8400m-gs, KDE 4.
|
![]() |
| Bookmarks |
| Thread Tools | |
| Display Modes | |
|
|