« Reinstall grub in MBRFix strange characters from pstree on RedHat. »

Remote access via ssh with RedHat Rescue Disk

04/14/09

Permalink 10:18:13 am, by admin Email , 85 words   English (US)
Categories: Project Gallery, RedHat

Remote access via ssh with RedHat Rescue Disk

  1. Insert Rescue Disk and boot server.
  2. At the first prompt type "linux rescue" and hit enter.
  3. Follow boot disk prompts to start networking. Enter the system's ip address, netmask, gateway and name server.
  4. Continue with prompts until the root partition is mounted and you get a command prompt.
  5. Verify network configuration with ifconfig and route.
  6. Use the following commands to start sshd:

    cd /mnt/sysimage
    chroot /mnt/sysimage
    mount /dev/pts
    /sbin/service sshd start

You should now be able to SSH into the server.

2 comments

Comment from: Wendell [Visitor]
*****
Thanks, this was very helpful. One small note for anyone who stumbles onto this in the future though:

/sbin/service ssh start

should be

/sbin/service sshd start
07/06/09 @ 15:02
Comment from: admin [Member] Email
Good eye ... correction has been made.
07/07/09 @ 04:54

This post has 2 feedbacks awaiting moderation...

Leave a comment


Your email address will not be revealed on this site.

Your URL will be displayed.
PoorExcellent
(Line breaks become <br />)
(Name, email & website)
(Allow users to contact you through a message form (your email will not be revealed.)
July 2010
Sun Mon Tue Wed Thu Fri Sat
 << <   > >>
        1 2 3
4 5 6 7 8 9 10
11 12 13 14 15 16 17
18 19 20 21 22 23 24
25 26 27 28 29 30 31

Reliable Penguin offers Linux Server Migrations, Systems Administration & Programming. Visit our main website at:

http://www.reliablepenguin.com

Search

Bookmark and Share

XML Feeds

powered by b2evolution