Linux - NetworkingThis forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.
Notices
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.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
hi frns,
i'm using rel server 5 and rel desktop 4 connected through lan,i can ping from either side,i logged through ssh from rel 4 to rel 5,but can't login from rel 5 to rel 4.what may b the problem? i started the sshd services on both the machines,the sad thing is i can't find a line ssh 22/tcp in /etc/services in rel 4,so i add that line and restarted the service ,but again the same problem.......help me
# This is the sshd server system-wide configuration file. See
# sshd_config(5) for more information.
# This sshd was compiled with PATH=/usr/local/bin:/bin:/usr/bin
# The strategy used for options in the default sshd_config shipped with
# OpenSSH is to specify options with their default value where
# possible, but leave them commented. Uncommented options change a
# default value.
Port 22
#Protocol 2,1 Protocol 2
AddressFamily any ListenAddress 0.0.0.0
#ListenAddress ::
# HostKey for protocol version 1
#HostKey /etc/ssh/ssh_host_key
# HostKeys for protocol version 2
#HostKey /etc/ssh/ssh_host_rsa_key
3 check sshd service running or not
[root@linuxserver1 ~]# /etc/init.d/sshd status
sshd (pid 3112 3022) is running...
4. Run netstat command whether ssh is listening all ip addresses on 22
port (ssh works on 22 port).
[root@linuxserver1 ~]# netstat -tulpn | grep sshd
tcp 0 0 0.0.0.0:22 0.0.0.0:* LISTEN
2456/sshd
Note: If you have allow only your home/office ip address for sshing in
ssh_config script. netstat will show that ip address.
5. Also you may check whether firewall is not blocking 22 port by issuing
this command
#iptables -L.
If firewall is enable 22 port should be ACCEPT in INPUT option.
Hope this will help. Also you can paste the error message which you get
while sshing from rhel 5 to rhel 4 box this will shed the light on this
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.