I installed Firestarter anyways I might as well, I opened 80, 22, and 443, I have SSL working as well so I needed 443. Anything else I do with the machine still works after that but still no luck with SSH.
-Zach
Everything that has a Beginning, has an End
I tried putting the IP address of the switch that the machine is connected to into the browser to see if I could check it's configuration, I want to see if port 22 is open on the switch, how can I do that?
-Zach
Well from the output of iptables -L we can see iptables is set to accept all connections from anywhere, so it's not a host based firewall, (all firestarter does is configure iptables which we know isn't the problem) I would try to telnet to the linux computer on port 22, if it gets through you'll get a response like this:
(I forget the exact syntax on windows I believe you add a colon to specify port)
Code:telnet 192.168.2.1:22 SSH-2.0-OpenSSH_4.7p1 Debian-8ubuntu1.2
I tried what you said from the command line and it tries port 23 anyways, then I tried PuTTY because you can use Telnet in there also and it just doesn't connect.
-Zach
You are writing the correct ip, right? If yes, then you have to be sure of two things.
(1) Port 22 reaches your machine.
(2) There isn't a setting in /etc/ssh/sshd_config which allows only local connections. For example edit that file and add
See "man sshd_config" for more info. Also check the option called something like "AllowUsers".Code:ListenAddress *
I'll bet my money on option (1). Again, how does the ubuntu system connect to internet? A switch itself doesn't connect to internet. You must be connecting over a modem or router. Anything between you and the internet must forward port 22 to the ubuntu machine.
Being an idiot, I can't figure out how to access the switch, I'm actually a computer science student interning at a place and this is some of my first REAL experience with network stuff. I put the switch's IP in the web browser and it says failed to open...
I'll try what you just said Gloria.
-Zach
Are you on the same LAN?
Bookmarks