View previous topic :: View next topic |
Author |
Message |
Guest
|
Posted: Thu May 23, 2002 3:22 pm Post subject: How to enable gentoo accept remote logins? |
|
|
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 Bodhisattva


Joined: 17 Apr 2002 Posts: 3657 Location: San Francisco, CA
|
Posted: Thu May 23, 2002 4:47 pm Post subject: |
|
|
Any reason you don't just use ssh?
--kurt _________________ The problem with political jokes is that they get elected |
|
Back to top |
|
 |
Hellfire n00b


Joined: 09 May 2002 Posts: 54 Location: Madison, WI
|
Posted: Thu May 23, 2002 5:27 pm Post subject: |
|
|
`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 |
|
 |
Guest
|
Posted: Thu May 23, 2002 11:05 pm Post subject: thx, kurt... |
|
|
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

Joined: 13 May 2002 Posts: 38 Location: Lisbon, Portugal
|
Posted: Fri May 24, 2002 8:16 am Post subject: Re: thx, kurt... |
|
|
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 |
|
 |
jay l33t


Joined: 08 May 2002 Posts: 980
|
Posted: Sat May 25, 2002 8:08 am Post subject: |
|
|
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 |
|
 |
kabau n00b


Joined: 16 May 2002 Posts: 6 Location: Austin, TX
|
Posted: Fri May 31, 2002 2:30 am Post subject: telnetd and xinetd |
|
|
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 |
|
 |
|