Here i am working as Linux administer trainee. during my training i got some trouble and got the solutions by digging for it a long time.
i got a problem with the connection to SSH virtual machine. when I'm trying to connect my vz machine through
==================================================
#ssh root@x.x.x.x (x.x.x.x is my ip)
it shows
ssh: connect to host x.x.x.x port 22: Connection refused
i first checked the sshd is working or not by,
#pgrep sshd
if it shows any number (pid) then it is working;
then check the network by pinging to the ip;
if everything is fine then go to the another mechine n get into your vz then re-install
#yum install openssh-server.x86_64 openssh-clients.x86_64 libssh2-devel.x86_64
then connect through your machine it will work..!
i got a problem with the connection to SSH virtual machine. when I'm trying to connect my vz machine through
==================================================
#ssh root@x.x.x.x (x.x.x.x is my ip)
it shows
ssh: connect to host x.x.x.x port 22: Connection refused
i first checked the sshd is working or not by,
#pgrep sshd
if it shows any number (pid) then it is working;
then check the network by pinging to the ip;
if everything is fine then go to the another mechine n get into your vz then re-install
#yum install openssh-server.x86_64 openssh-clients.x86_64 libssh2-devel.x86_64
then connect through your machine it will work..!
No comments:
Post a Comment