Solved

Enable Telnet and SSH remote services

Posted on 2013-11-17
3
360 Views
Last Modified: 2013-11-17
I have two linux centos 6.3 server with following IP
Server1 192.168.1.1
Client  192.168.1.2

1: how can i enable telnet and SSH remote services
2: how can I initiate telnet and ssh sessions from linux client
3: how can I use TCP wrappers to disable TELNET

Thanke
0
Comment
3 Comments
 
LVL 27

Expert Comment

by:serialband
ID: 39655604
First, make sure ssh is installed

yum -y install openssh-server openssh-clients

chkconfig sshd on

To start, stop and restart ssh
/etc/init.d/sshd start | stop | restart

From a linux client with ssh installed,
ssh ACCOUNT_NAME@SERVER_NAME

Why would you want to use telnet?  Unless you're on a local trusted and secured network, it's completely insecure.
chkconfig telnet off
0
 
LVL 2

Author Comment

by:Mohammad Aamir Qureshi
ID: 39655611
I am new in Linux and I have been told to do above steps
0
 
LVL 10

Accepted Solution

by:
Luxana earned 300 total points
ID: 39655613
Hi,

NOTE all command to be executed using root privileges:

1) to enable ssh
- install openssh package
yum install openssh -y

Open in new window

start ssh with /sbin/service sshd start

Open in new window

- install telnet
yum install telnet telnet-server -y

Open in new window

- enable telnet by editing /etc/xinetd.d/telnet
disable         = no

Open in new window

Start wrapper:
service xinetd start

Open in new window

2)
from client to use telnet do:
telnet <IP address or Hostname>

Open in new window

from client to use ssh do:
ssh username@<IP address or Hostname>

Open in new window

3) to disable telent do:
edit /etc/xinetd.d/telnet
disable         = yes

Open in new window

service xinetd restart

Open in new window

0

Featured Post

Control application downtime with dependency maps

Visualize the interdependencies between application components better with Applications Manager's automated application discovery and dependency mapping feature. Resolve performance issues faster by quickly isolating problematic components.

Join & Write a Comment

I have seen several blogs and forum entries elsewhere state that because NTFS volumes do not support linux ownership or permissions, they cannot be used for anonymous ftp upload through the vsftpd program.   IT can be done and here's how to get i…
Note: for this to work properly you need to use a Cross-Over network cable. 1. Connect both servers S1 and S2 on the second network slots respectively. Note that you can use the 1st slots but usually these would be occupied by the Service Provide…
Polish reports in Access so they look terrific. Take yourself to another level. Equations, Back Color, Alternate Back Color. Write easy VBA Code. Tighten space to use less pages. Launch report from a menu, considering criteria only when it is filled…
You have products, that come in variants and want to set different prices for them? Watch this micro tutorial that describes how to configure prices for Magento super attributes. Assigning simple products to configurable: We assigned simple products…

708 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

13 Experts available now in Live!

Get 1:1 Help Now