LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Mandriva
User Name
Password
Mandriva This Forum is for the discussion of Mandriva (Mandrake) Linux.

Notices


Reply
  Search this Thread
Old 01-25-2005, 02:16 AM   #1
suguname
Member
 
Registered: Jan 2005
Location: chennai
Distribution: mandrake
Posts: 70

Rep: Reputation: 15
Unhappy rlogin command not found...


i am using mandrake linux for 5 computers.i need to handle the other systems by a single system.
when i gave #rlogin 10.255.230.123
rlogin command not found.

when i have to poweroff other systems by this system,how can i do that?
 
Old 01-25-2005, 02:32 AM   #2
bunnadik
Member
 
Registered: Jan 2005
Location: Övik, Sweden
Distribution: MDK 10.1
Posts: 450

Rep: Reputation: 30
Do not use rlogin (not even at gunpoint). It has been deprecated a loong time along with telnet.
ssh is the secure replacement for the above (with scp for secure copy).

Install openssh-server on the remote machines and openssh-clients on your local one and you should be good to go.

Another alternative is to install webmin on the remotes. That way you can admin them through a browser.

- Peder
 
Old 01-25-2005, 02:39 AM   #3
GaMeS
Member
 
Registered: Jan 2005
Location: France / Bretagne
Distribution: Debian / Gentoo
Posts: 71

Rep: Reputation: 15
when u have installed open ssh ,

start the deamon sshd

after with another machine

connect , and

Code:
Shutdown -h now
 
Old 01-25-2005, 02:55 AM   #4
suguname
Member
 
Registered: Jan 2005
Location: chennai
Distribution: mandrake
Posts: 70

Original Poster
Rep: Reputation: 15
sir connect to system by,
#ssh 10.255.240.137
and log on to the system and i started sshd.
when i give shutdown -h now it said...
[root@Simlab-node10 Desktop]# shutdown -h now

Broadcast message from root (pts/0) (Tue Jan 25 14:28:48 2005):

The system is going down for system halt NOW!
[root@Simlab-node10 Desktop]#

after that nothing happens....the system not shutdown....pls help me....
 
Old 01-25-2005, 03:06 AM   #5
suguname
Member
 
Registered: Jan 2005
Location: chennai
Distribution: mandrake
Posts: 70

Original Poster
Rep: Reputation: 15
[root@Simlab-node3 staff]# ssh 10.255.240.157
ssh: connect to host 10.255.240.157 port 22: Connection refused


the address is correct but not connecting help me....
 
Old 01-25-2005, 03:13 AM   #6
bunnadik
Member
 
Registered: Jan 2005
Location: Övik, Sweden
Distribution: MDK 10.1
Posts: 450

Rep: Reputation: 30
Instead of 'shutdown -h now' you could just enter 'halt' or 'reboot' (depending on what you want).
And if it doesn't shutdown, what happens? Does it hang somewhere?

Regarding "Connection refused"; have you started sshd on that server? Do a 'service sshd restart' and 'chkconfig sshd on'
If it's running, make sure you don't have any firewall rules preventing access to port 22 from your client.
Also check if there's any entry in /etc/hosts.deny preventing access.

- Peder
 
Old 01-25-2005, 03:19 AM   #7
suguname
Member
 
Registered: Jan 2005
Location: chennai
Distribution: mandrake
Posts: 70

Original Poster
Rep: Reputation: 15
root@Simlab-node3 staff]# ssh 10.255.240.157
ssh: connect to host 10.255.240.157 port 22: Connection refused
[root@Simlab-node3 staff]# servise sshd restart
bash: servise: command not found
[root@Simlab-node3 staff]# service sshd restart
Stopping sshd: [ OK ]
Starting sshd: [ OK ]
[root@Simlab-node3 staff]# ssh 10.255.240.157
ssh: connect to host 10.255.240.157 port 22: Connection refused
[root@Simlab-node3 staff]# chkconfig sshd on
[root@Simlab-node3 staff]# chkconfig sshd on
[root@Simlab-node3 staff]# ssh 10.255.240.157
ssh: connect to host 10.255.240.157 port 22: Connection refused
[root@Simlab-node3 staff]

this is what happened .........
 
Old 01-25-2005, 05:41 AM   #8
bunnadik
Member
 
Registered: Jan 2005
Location: Övik, Sweden
Distribution: MDK 10.1
Posts: 450

Rep: Reputation: 30
No.
You have to run the 'service....' and 'chkconfig....' commands on the remote server, 10.255.240.157.

What you have done is started sshd on Simlab-node3 (nothing wrong with that but it won't help you connecting to 10.255.240.157).

- Peder
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
bash: <command name> command not found smash Programming 5 03-13-2006 08:48 AM
command not found peterstudent Linux - Newbie 2 01-21-2005 07:59 PM
et: command not found twan Linux - Games 2 01-31-2004 09:08 AM
Command not found nfis Linux - Software 9 11-25-2003 11:00 PM
:command Not Found severedhead Linux - Software 2 08-29-2002 07:51 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Mandriva

All times are GMT -5. The time now is 03:28 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration