SlackwareThis Forum is for the discussion of Slackware Linux.
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.
Hiya,
Never dabbled in SSH before, so apologies if these are stupid questions.
1. I can connect to my slack 13 laptop via PuTTY on my GF's windows laptop. Can I actually copy things from my laptop to her machine using 'scp', or is PuTTY just used for browsing my linux filesystem on a windows machine? Google has been telling me about some software called 'WinSCP', which can copy files over, but I was just wandering if i can do this anyway using PuTTY?
2. The first time i did connect to my laptop from my GF's laptop (and also my ubuntu desktop) I get the warning about the host key is not cached in client machine("the server's rsa2 key fingerprint is: ssh-rsa XXXX xx:xx:xx:xx:xx:xx: etc etc). I understand why this happens, but I have no idea where to find this value on my host laptop. I can find the actual key, but not the fingerprint (i.e. the xx:xx:xx:xx:xx:xx:xx" etc). Can anyone tell me where I can find this please, as i blindly typed "yes" to get SSH working?
3. When i connect from the internet (rather than over my home network) will i need some kind of 'shell login account' to do this cuz i dont have a static IP. ie i'd like to do 'ssh tom@myAccount.com' rather than 'tom@123.432.32.23'? Where or how can i make this happen?
Distribution: slackware64 13.37 and -current, Dragonfly BSD
Posts: 1,810
Rep:
I've been playing with Putty a bit lately and have found it very useful. I'll attempt to answer each of your points in turn.
1) You can use several ways to copy stuff around with putty. There psftp which looks like ftp on the client end but works over ssh. You can move files around with this. Putty also has the tool "pscp" which I use a lot to copy stuff from my linux host (just like scp on Linux).
2) I'm not sure about this value as I just type "yes" as you did and I'm not expert in ssh.
3) You should look at Dyndns which gives you a host name and lets you quickly and easily update the dns record as your hosts IP changes - there are even tools and scripts to do this. This means you could access your server via a URL. I would be VERY careful about opening ssh to the world though - it is open to abuse.
@mutexe: Check out Dyndns as bgeddy mentioned and use inadyn to keep your dns record updated automatically, even if it changes while you're not at home.
1. Not sure if this will be an option from a windows machine or not, but I use sshfs to transfer files via ssh. It connects a mountpoint (a directory) you specify to your home directory on the remote machine. So when you "ls" the directory on the local machine, you'll see all your files on the remote machine. It's very handy
Hi again,
Got me a DNS host from that site, but when I type 'ssh myHostName.HomeLinux.com' in putty it dont do anything, just seems to hang.
I've looked at the FAQs on dynDNS.com and cant see if i have to configure it some more?
Any ideas?
Did you set your IP address for that domain on the dynDNS site?
If you do a "dig myHostName.HomeLinux.com", do you get the right IP address?
Setting the IP address for your domain can be done automatically with the inadyn client as well...
If you don't want to compile inadyn, you can grab it from my site (see link in my signature).
3. If you ping myHostName.HomeLinux.com (use your real URL) you should see your IP address. If using a router it will be your WAN IP address. Is the dynDNS client running? If using a router did you configure it to forward IP address and you also configure your linux box with a static IP address?
An attempted connection to <my ip address>:80 was refused. This typically indicates that there are no services available on that port, but that it is NOT being blocked by a firewall or your ISP.
You should see a response similar to the following.
Trying xxx.xxx.xxx.xxx...
Connected to myName.homelinux.com
Escape character is '^]'.
SSH-2.0-OpenSSH_4.7
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.