Results 1 to 10 of 17
Hello,
I cant config my ssh but i really need it...
Some one can show me how to to it?...
Enjoy an ad free experience by logging in. Not a member yet? Register.
- 05-26-2012 #1Just Joined!
- Join Date
- May 2012
- Posts
- 78
Sshd
Hello,
I cant config my ssh but i really need it...
Some one can show me how to to it?
- 05-26-2012 #2
You need it to do what?
Interactive shell login?
At least your operating systems and versions as well as the network layout would be needed background information to help you.You must always face the curtain with a bow.
- 05-26-2012 #3Just Joined!
- Join Date
- May 2012
- Posts
- 78
when i try to connect to the linux via Putty it says: Network error: Connection refused....
So something is wrong
- 05-26-2012 #4
Can you check via a local login, if
- the sshd daemon is running Code:
ps auwx|grep ssh
- which port it is listening on Code:
netstat -tunlp |grep ssh
- a firewall is blocking Code:
iptables -Ln
You must always face the curtain with a bow.
- the sshd daemon is running
- 05-26-2012 #5Just Joined!
- Join Date
- May 2012
- Posts
- 78
What that means?Code:[root@localhost joaogl]# ps auwx|grep ssh root 7214 0.0 0.0 8472 960 ? Ss 15:59 0:00 /usr/sbin/sshd root 8775 0.0 0.0 4328 764 pts/0 S+ 22:09 0:00 grep ssh [root@localhost joaogl]# netstat -tunlp |grep ssh tcp 0 0 0.0.0.0:31222 0.0.0.0:* LISTEN 7214/sshd [root@localhost joaogl]# iptables -Ln iptables: No chain/target/match by that name. [root@localhost joaogl]#
- 05-26-2012 #6
That means, that I forgot to give a complete firewall command

But the netstat shows, that you run ssh on the non-standard port 31222.
So you need to tell the client -in your case putty- to connect to this port on the server.You must always face the curtain with a bow.
- 05-27-2012 #7Just Joined!
- Join Date
- May 2012
- Posts
- 78
Know it says
Server unexpectedly close networ connection
- 05-28-2012 #8Just Joined!
- Join Date
- May 2012
- Posts
- 78
Why this is happing?
- 05-28-2012 #9
Maybe a firewall is blocking the connection:
Or the ssh daemon is misconfigured.Code:iptables -L -n
For this, a log of the connection attempt would be usefull.You must always face the curtain with a bow.
- 05-28-2012 #10Just Joined!
- Join Date
- May 2012
- Posts
- 78
INPUT
OUTPUT
FORWARD
all accept


Reply With Quote
