Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
How to enable gentoo accept remote logins?
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Networking & Security
View previous topic :: View next topic  
Author Message
Guest






PostPosted: Thu May 23, 2002 3:22 pm    Post subject: How to enable gentoo accept remote logins? Reply with quote

I have search the HOWTOs on xinetd and inetd, all of which left me confused. I even tried some instructions from Redhat, but the config files these guides reference are seemingly nonexistent with gentoo.

Could someone please help me out?

Thx.

Jacob
Back to top
klieber
Administrator
Administrator


Joined: 17 Apr 2002
Posts: 3657
Location: San Francisco, CA

PostPosted: Thu May 23, 2002 4:47 pm    Post subject: Reply with quote

Any reason you don't just use ssh?

--kurt
_________________
The problem with political jokes is that they get elected
Back to top
View user's profile Send private message
Hellfire
n00b
n00b


Joined: 09 May 2002
Posts: 54
Location: Madison, WI

PostPosted: Thu May 23, 2002 5:27 pm    Post subject: Reply with quote

`rc-update add sshd default`
`/etc/init.d/sshd start`

a "recent" version of openssh is shipped in the 1.x tarballs, the latest is in the newest portage and takes 5-10m to merge. Get yourself a copy of putty (for windows) if necessary and go nuts.

If you absolutely need telnet then simply emerge xinetd, and enable telnetd support through it. No walkthrough from me, get ssh :)

-h
Back to top
View user's profile Send private message
Guest






PostPosted: Thu May 23, 2002 11:05 pm    Post subject: thx, kurt... Reply with quote

klieber wrote:
Any reason you don't just use ssh?

--kurt


but i tried just that: "rc-update add ..." .

i tried telneting and got a 'connection refused' error msg.. do i have to edit any config files in xinetd or inetd?

thx.

jacob
Back to top
sena
n00b
n00b


Joined: 13 May 2002
Posts: 38
Location: Carnaxide, Portugal

PostPosted: Fri May 24, 2002 8:16 am    Post subject: Re: thx, kurt... Reply with quote

Anonymous wrote:
klieber wrote:
Any reason you don't just use ssh?

--kurt


but i tried just that: "rc-update add ..." .

i tried telneting and got a 'connection refused' error msg.. do i have to edit any config files in xinetd or inetd?


As Hellfire stated before, you can't just telnet to the ssh port.

SSH provides an encrypted connection, where, contrarily to plain telnet, your passwords and data don't go through the network as cleartext.

So, to connect to an SSH port from anothe computer:



Regards, Sena. :?
_________________
sena@smux.net, http://smux.net/
Back to top
View user's profile Send private message
jay
l33t
l33t


Joined: 08 May 2002
Posts: 980

PostPosted: Sat May 25, 2002 8:08 am    Post subject: Reply with quote

When ussing PuTTY don't forget to set the SSH option. It opens a telnet connection by default.
_________________
Do you want your posessions identified? [ynq] (n)
Back to top
View user's profile Send private message
kabau
n00b
n00b


Joined: 16 May 2002
Posts: 6
Location: Austin, TX

PostPosted: Fri May 31, 2002 2:30 am    Post subject: telnetd and xinetd Reply with quote

In order to telnet into a gentoo box, you will need to install a telnetd since one isn't installed by default. You can emerge net-misc/netkit-telnetd, and sys-apps/xinetd. At that point, you can add this to your /etc/xinetd.conf:

service telnet
{
flags = REUSE
socket_type = stream
wait = no
user = root
server = /usr/sbin/in.telnetd
bind = <ip_of_box>
log_on_failure += USERID
}

kabau
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Networking & Security All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum