Cannot SSH OUT FROM MY OFFICE SERVERS.
i cannot ssh out to my linux machine,
i scan my office servers then ; Commencing Port Scan: Port 21: Closed Port 22: Open Port 23: Closed Port 25: Open Port 53: Open Port 79: Closed Port 80: Open Port 110: Open Port 111: Closed Port 139: Closed Port 443: Open Port 1080: Closed Port 8181: Closed you can see the Port 22 is open, but Port 21 is closed, but why i still cannot shh out to my servers ?? anyone can help me, pleaseeeee !!!!!! |
Does your ISP block it? I doubt they'd block a companys access, but verify it.
-- Assuming you have a server doing NAT and not a router --- If your going through a router, which NIC did you scan. The internal network card might allow SSH to the server, but the NIC to the Internet might block it. Posting the IPTABLES -L on the server doing to internet sharing would probably give up a better chance of helping. If you have a router handling the Internet sharing, the commands would depend on the brand of router. |
Maybe your ssh is only possible from internal network.
Have a look in /etc/hosts.allow ... hosts.deny ...etc. Can you ssh from your internal network? Maybe, itīs a routing problem. Often the routers donīt froward the ssh to the server. In that case, you have to try a simple portforward on your router. Or itīs a local firewall on your server, that block external ssh requests. You see - itīs not quite trivial to find a solution, but you have a lot of options to try. You should try ssh from internal network first. Then we will know more ... |
i can ssh to my servers .....
how to check that router forward or not ?? |
Does your router write LOG-Files?
Then, have a look, what it says about the Port 22 Maybe you can try to set a portforwarding to port 22 like all incoming to 22 --> ip.of.your.server:22 Just to try it out. When you forward 22 to the server, it should be reachable. Itīs possible, that your router has an built in packetfilter, which blocks 22. What router do you use? Does the server have a firewall activated? Are external PCs allowed to connect to your server? Greetz Pete -- time for a cup of coffee |
i not a root, and also don't have access to go see what my admin have in server room.
as i know last time they said that they want to install firewall for protection, and i assumed they already installed it. how to check the server use router/firewall ?? Quote:
Quote:
sorry , i'm NEWBIE and also to learn to be better. |
Quote:
|
yeah i know, but i just want to learn something.
also i want learn how to be a root, like block this that and that ....... this is also can be knowledge to me. |
Re-Hi
I agree with twilli227 - newer try to "tunnel" your admin. :tisk: If ssh isnīt possible, there will be a reason, why it isnīt. Ask your admin, if you are allowed to shh - and he will tell you, what to do. If you want to learn about ssh, portforwarding, protocol-reading, portscanning and all the other funny things in a roots life, take two - more or less - old PCs, install a linux and try to get the stuff runninī. Set up a router with an old PC for DSL or ISDN (f.e. www.fli4l.de or smoothwall/IPCop or take a look at www.freshmeat.net for a "one-disc-router"). Or try to route with an "normal" Linux-Distribution. If you have one or two PCs connected to a self-built and configured router, you left the first steps behind you. Canīt gve you more help at this point for two reasons: a) Iīm root in our company (so, Iīm one of those "bad guys") :D :D b) You need the root account to get on with those things, I could tell you from this point on. Just try it at home - lots of people throw away old computers! |
Quote:
Quote:
if you all can't help me, it's ok ...... i know, there is not a free to get a little knowledge .... |
All times are GMT -5. The time now is 08:33 AM. |