I have spent days trying to find out if there is a way to telnet to a vma server. Is this possilble? any help appreciated thanks.
1. Follow this to enable the root account: http://enterpriseadmins.org/blog/virtualization/enabling-the-root-user-on-vma-4-1/
2. touch CentOS-Base.repo
3. Copy and paste this into the file:
[base]
name=CentOS-5 - Base
baseurl=http://mirror.centos.org/centos/5/os/x86_64/
gpgcheck=1
gpgkey=http://mirror.centos.org/centos/RPM-GPG-KEY-CentOS-5
[update]
name=CentOS-5 - Updates
baseurl=http://mirror.centos.org/centos/5/updates/x86_64/
gpgcheck=1
gpgkey=http://mirror.centos.org/centos/RPM-GPG-KEY-CentOS-5
4. Then run: yum -y update ( and go for a long walk )
5. yum -y install telnet telnet-server
6. vi /etc/xinetd.d/telnet
disable = no
7.
chkconfig telnet on chkconfig xinetd on service xinetd restart
service iptables stop
Try to connect
Why would you like to telnet to the vMA ?
You can ssh to vMA for sure:
1. Grab putty from the internet
2. Figure out the ipaddress of your vMA (ifconfig eth0)
3. Connect to your vMA using putty and your IP address
Warmest regards,
Peter
We have recently purchased server room monitoring equipment, it has the ability to send telnet commands to Linux systems. We have a ups in place with the addons to shutdown the environment in the event of a power failure and this new bit of kit has the ability to monitor temperatures. So should the aircon fail for some reason it can execute a script on a linux system (but only uses telnet). So I would like it to connect to the vma and issue a shut down of the datacenter. My other thought is to setup a stand alone system to handle this? I am running blind at the moment and dont really know what the best solution is. Many thanks,
1. Follow this to enable the root account: http://enterpriseadmins.org/blog/virtualization/enabling-the-root-user-on-vma-4-1/
2. touch CentOS-Base.repo
3. Copy and paste this into the file:
[base]
name=CentOS-5 - Base
baseurl=http://mirror.centos.org/centos/5/os/x86_64/
gpgcheck=1
gpgkey=http://mirror.centos.org/centos/RPM-GPG-KEY-CentOS-5
[update]
name=CentOS-5 - Updates
baseurl=http://mirror.centos.org/centos/5/updates/x86_64/
gpgcheck=1
gpgkey=http://mirror.centos.org/centos/RPM-GPG-KEY-CentOS-5
4. Then run: yum -y update ( and go for a long walk )
5. yum -y install telnet telnet-server
6. vi /etc/xinetd.d/telnet
disable = no
7.
chkconfig telnet on chkconfig xinetd on service xinetd restart
service iptables stop
Try to connect
Thank you Peter ... I would never have got that without your help. So the file that is created just acts like an add on linux.
Thanks for you help once again