Linux - SoftwareThis forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.
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.
Introduction to Linux - A Hands on Guide
This guide was created as an overview of the Linux Operating System, geared toward new users as an exploration tour and getting started guide, with exercises at the end of each chapter.
For more advanced trainees it can be a desktop reference, and a collection of the base knowledge needed to proceed with system and network administration. This book contains many real life examples derived from the author's experience as a Linux system and network administrator, trainer and consultant. They hope these examples will help you to get a better understanding of the Linux system and that you feel encouraged to try out things on your own.
Click Here to receive this Complete Guide absolutely free.
I just started with linux this weekend and am having problems connecting to ssh via putty or winSCP from outside of my local network... It works fine using the standard 192.168.0.x ip, but when I try to connect from outside the network putty either closes immediatly or mentions something about the server closing the connection... I have the router configured to forward it to the machine on port 22... I've also tried runnung through port 8000 thinking that the isp may have blocked it or something... This doesn't seem to be the case though and was wondering if perhaps there is something I need to do on linux... I'm running Debian 3.1... I'm also having a similar problem with a Java server program I wrote for the linux machine... It works fine locally but has connection problems from the net... Any thoughts??? Thanks...
Is the destination host configured to serve SSH connection requests?
I'd check the following:
1. Verify you can do an ssh logon on the SSH server's local network (i.e. within it's firewall)
2. Make sure the server's firewall is open to incoming SSH connections (port 22, I believe).
3. Make sure your client's firewall is open to outgoing SSH connections.
Meaning that you've confirmed item "1". Please double-check any firewalls you're aware of at your end. Most have a GUI, and most GUI's have a little checkbox to enable SSH (i.e. you probably don't have do deal with iptables or IOS syntax or anything like that).
But it definitely sounds like "2" is the culprit: your server's firewall is probably blocking port 22.
Hmm, can't find an SSH checkbox... Perhaps I'm just being dense for even thinking this, but if a local firewall on the server were keeping it from working, wouldn't it keep it from working in the local network as well? Just wondering...
No. In general, the firewall will inhibit connections between your LAN and some external LAN, but has absolutely no effect on any connections between any hosts within the LAN.
The fact that you're able to do SSH within your server's LAN is an important thing to know: it means the server itself is configured to "do SSH". This is *not* necessarily a given.
But, unfortunately, it doesn't shed too much light on why you can't open an SSH connection with that server from home.
Sorry I couldn't be of more help .. PSM
On your firewall settings, do you see *ANY* lists of ports it will/will not accept? If so, then perhaps there's someplace you can *ADD* a new port (i.e. add port 22 to that list). Just a thought...
I don't see any firewall settings at all when searching the kde control center... The only thing under the firewall results are the proxy settings... Am I even looking in the right place? hehe I'm such a
I think you've probably gone about as far as you can by yourself.
Your next step is to talk to your server's system administrator. He'd be able to tell you whether or not his firewall might be blocking SSH, he'd also be able to give you some intelligent and knowledgeable troubleshooting tips.
If you go to a terminal window and type lokkit, then choose to disable the firewall, you may be able to access the connection from the outside world then. If this works then configure it to allow incoming SSH...