Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum. |
Notices |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
 |
01-04-2005, 11:01 PM
|
#1
|
LQ Newbie
Registered: Jan 2005
Distribution: Ubuntu
Posts: 8
Rep:
|
Telnetting
Hey guys, good to be here. I'm a mere tinkerer in Linux but i'll be happy to help out where i can, today though, i'm leeching some info. I searched this, and a few other forums, but all the solutions were either not realated or didn't work.
Anyway. I'm taking my personal computer to work to get some stuff installed over the nice internet connection there. However, i'd rather connect to it remotely, simply because there is too much stuff on my desk already.
Besides, it'll be a handy thing to know.
I'm aware of the security issues with telnet, and I looked up stuff about SSH, but it looks harder, and not worth the effort to get a remote connection going for only a day or two. Anyway, telnetting to a local address can't be that bad, besides there isn't exactly much anyone can do with my computer anyway.
Anyway, i just need it to accept connections from this PC. This is using Fedora Core 3, and Windows 2000; The one i'm connecting to is using Ubuntu.
Thanks a Bundle.
|
|
|
01-05-2005, 12:26 AM
|
#2
|
LQ Guru
Registered: Jan 2001
Posts: 24,149
|
ssh should probably already be configured or installed on your machine, its just a matter of you having it startup, start it up and ssh'ing into the machine, etc.
But yeah, ssh is worth it, telnet is bad, very bad and just as hard to configure than ssh is.. 
|
|
|
01-05-2005, 12:31 AM
|
#3
|
LQ Newbie
Registered: Jan 2005
Distribution: Ubuntu
Posts: 8
Original Poster
Rep:
|
Yeah, SSH and telnet are both installed, it just won't accept connections. Where can i add an exception to the list of denied IP's? (Which i imagine is all of them, at the moment.) Or change whatever is stopping it from connecting. The specific message is
Code:
[root@Ararat jesseb]# telnet 192.168.1.215
Trying 192.168.1.215...
telnet: connect to address 192.168.1.215: Connection refused
telnet: Unable to connect to remote host: Connection refused
And SSH does...
Code:
[jesseb@Ararat ~]$ ssh 192.168.1.215
ssh: connect to host 192.168.1.215 port 22: Connection refused
So i'm pretty sure it's just a matter of allowing local IP's addresses access.
I just don't know how to do that. 
|
|
|
01-05-2005, 12:36 AM
|
#4
|
LQ Guru
Registered: Jan 2001
Posts: 24,149
|
Well I know telnet doesn't start by default in any distro any longer..
First find out if sshd is running:
ps -aux | grep sshd
If you see it running, then it is a firewall setup that might be blocking it. If not, it most likely needs to be started as root:
/sbin/service sshd start
|
|
|
01-05-2005, 12:55 AM
|
#5
|
LQ Newbie
Registered: Jan 2005
Distribution: Ubuntu
Posts: 8
Original Poster
Rep:
|
Code:
root@boggyb:/ # /sbin/service sshd start
bash: /sbin/service: No such file or directory
However the regular ssh commands are there, so i'm sure it's installed. Where else could it be though?
|
|
|
01-05-2005, 01:06 AM
|
#6
|
LQ Guru
Registered: Jan 2001
Posts: 24,149
|
Quote:
Originally posted by Boggy B
Code:
root@boggyb:/ # /sbin/service sshd start
bash: /sbin/service: No such file or directory
However the regular ssh commands are there, so i'm sure it's installed. Where else could it be though?
|
Do you see sshd listed anywhere in /etc/init.d/ ?
What about doing a: rpm -qa | grep openssh
|
|
|
01-05-2005, 01:18 AM
|
#7
|
LQ Newbie
Registered: Jan 2005
Distribution: Ubuntu
Posts: 8
Original Poster
Rep:
|
Quote:
Do you see sshd listed anywhere in /etc/init.d/ ?
|
Nope.
Quote:
What about doing a: rpm -qa | grep openssh
|
I'm using Ubuntu on this PC, and i don't have Alien. Grep seems to hang the command line, no matter what i put in. It was still going after 10 minutes, so i Ctrl-C'd it.
Last edited by Boggy B; 01-05-2005 at 01:20 AM.
|
|
|
01-05-2005, 01:48 AM
|
#8
|
Member
Registered: Jul 2003
Location: Seattle, WA
Distribution: Kubuntu 14.04 LTS
Posts: 915
Rep:
|
I would suggest that you run "chkconfig" to see if sshd is running.
Code:
$ chkconfig --list sshd
It should come back with the result like this:
Code:
sshd 0:off 1:off 2:on 3:on 4:on 5:on 6:off
The numbers are runlevels; this means the sshd service is configured to start automatically on runlevels 2 thru 5.
sshd is under /etc/init.d on my system, but mine's Red Hat based and Ubuntu is Debian-based, so it may very well have the sshd daemon on a different location.
The list of allowed/denied hosts are kept under /etc/hosts.allowed and /etc/hosts.denied on my system.
|
|
|
All times are GMT -5. The time now is 01:13 AM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|