Linux - NetworkingThis forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.
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.
Well this is quite embarrassing. I've managed to setup a slackware 13.37 as a server (ssh / ftp / samba).
Now I can use filezilla to connect to the machine using sftp but I can't use ssh from my bash shell.
Here is the output of $ssh -v username@dyndns:xxx
OpenSSH_5.8p1 Debian-1ubuntu3, OpenSSL 0.9.8o 01 Jun 2010
debug1: Reading configuration data /etc/ssh/ssh_config
debug1: Applying options for *
ssh: Could not resolve hostname xxxx:xxx Name or service not known
If I type $ssh username@server_name (LAN connection), I can connect normally (after giving the proper password).
Since I can connect using filezilla, I'm sure that the gateway is correctly configured (firewall and port forwarding). What am I missing?
Why are you using the :xxx part in your command (ssh -v username@dyndns:xxx)?
If you need to set a specific/alternate port you need to use the -p option (ssh -v -p xxx username@dyndns).
You also mention sftp, maybe you are looking for the scp command? ssh is used to log into another machine and get a shell, scp is used to securely copy files from/to another host.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.