ssh is not working !


 
Thread Tools Search this Thread
Operating Systems AIX ssh is not working !
# 1  
Old 10-20-2009
ssh is not working !

Guy's

I have AIX 6.1 SSH in it is not working but is up and Active .....

Code:
server1/etc>lssrc -s sshd
Subsystem Group PID Status
sshd ssh 450686 active

from my PC can I login by SSH but SSH from Server1 to Server2 is not accepting it's giving me this message
Code:
server1/etc>ssh sever2
ssh: connect to host localhost port 22: Connection timed out

server1/etc>ssh sever1
ssh: connect to host localhost port 22: Connection timed out

what's the expected resone for this probelm !?

Last edited by zaxxon; 10-20-2009 at 05:49 AM.. Reason: code tags
ITHelper
# 2  
Old 10-20-2009
SSH not connected

Hi,
I think you must check your ssh config file for looking in some prameters like Time out and accept connction.
After you can see or create the RSA key or other depend to your strategy to give permission for server 2 for making connection with server 1

Let me in line
Smilie
# 3  
Old 10-20-2009
Code:
server1/etc>ssh sever2
ssh: connect to host localhost ...

Is that a typo? server2 is the same as server1? Maybe you have something wrong in your /etc/hosts or DNS?
As former poster mentioned - did you do any changes to your sshd_config? If you have no special needs you usually don't change anything in there.
# 4  
Old 10-20-2009
can both the servers talk to each with ping(With hostname)???
# 5  
Old 10-20-2009
Also, can you telnet direct to the port? I.e.
Code:
# telnet remote_server 22

Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. AIX

Ssh to the same host is not working

I am trying to ssh the same host where I am logged in.It's asking for the password. Please assist me with the troubleshooting steps for this. Best regards, Vishal (4 Replies)
Discussion started by: Vishal_dba
4 Replies

2. Shell Programming and Scripting

Ssh and pgrep not working

I have setup SSH keys . Trying to grep to get PID of remote jvm's . this is what am doing ssh -q testuser1@myhost.com 'PID1=pgrep -fl testapp1|awk "{print $1}";PID2=pgrep -fl testapp2|awk "{print $1}" ' echo $PID1, $PID2 it throws error"sh: -fl: command not found" ---------- Post updated... (1 Reply)
Discussion started by: kondagadu
1 Replies

3. Red Hat

SSH not working

Hi, I have a server running RHEL 6.0. While logging in through root ,I can login.But if I try to login through "integ" user,I am unable to login. /var/log/secure messages::: May 20 15:25:23 punsyncserv su: pam_unix(su-l:session): session opened for user integ by root(uid=0) May 20 15:29:44... (4 Replies)
Discussion started by: nowornever
4 Replies

4. UNIX for Dummies Questions & Answers

SSH tunnel working for ssh but not for sshfs

I'm trying to setup a link between my home pc (work-machine) and a server at work (tar-machine) that is behind a gateway (hop-machine) and not directly accessible. my actions: work-machine$ ssh -L 1234:tar-machine:22 hop-machine work-machine$ ssh -p 1234 user@127.0.0.1 - shh access on... (1 Reply)
Discussion started by: Vathau
1 Replies

5. Solaris

SSH: internal working but external not working

Hi, This is a strange issue: We have an sftp server. Users can ssh to it from internal LAN without any issue, but they can not ssh to it externally via firewall. Here is what I got: OS is Solaris 9. No hosts.allow and hosts.deny files. Please help. Thank you in advance! (7 Replies)
Discussion started by: aixlover
7 Replies

6. UNIX for Advanced & Expert Users

Urgent ssh -1 not working

Hi guys please help with the following. $ ssh -1 -v -l username -o "ForwardX11 yes" server.name netscape OpenSSH_5.8p1, OpenSSL 0.9.8r 8 Feb 2011 debug1: Connecting to proxy-bt-2 port 22. debug1: Connection established. debug1: identity file /home/username/.ssh/identity type -1 debug1:... (1 Reply)
Discussion started by: llcooljatt
1 Replies

7. Solaris

ssh and scp not working

Dear All, whenever i try the command ssh , it is giving the below error. ld.so.1: ssh: fatal: relocation error: file /usr/bin/ssh: symbol SUNWcry_installed: referenced symbol not found Killed For SCP also the same error is coming. Pl reply me if you have answers. Rj (4 Replies)
Discussion started by: jegaraman
4 Replies

8. Red Hat

SSH keys are not working

Hi, I've generated and posted pub. keys in the source system and the target. However, it is still prompting me for the password. Steps that I have taken. 1. Generated ssh keys : ssh-keygen. It created two files. 1. .ssh/id_rsa 2. .ssh/id_rsa.pub. 2.... (10 Replies)
Discussion started by: Afi_Linux
10 Replies

9. UNIX for Advanced & Expert Users

Consecutive SSH are not working

Hi this is for a friend... My friend is trying to start and stop servers on remote machine using SSH. the problem here is when he runs the commands... ssh -t username@remoteserver sudo /etc/init.d/tomcat6 stop This works fine and stops the server. but ssh -t username@remoteserver sudo... (4 Replies)
Discussion started by: INeedANick
4 Replies

10. HP-UX

ssh to server is not working

When we ssh -i private key user@ip we get the password prompt. The sending servers public key is in the receiving server. We have blown away the known_hosts file on the sending server and restarted the ssh connection. We don't know what else to do. Any other suggestions? (15 Replies)
Discussion started by: jastanle84
15 Replies
Login or Register to Ask a Question