LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Server
User Name
Password
Linux - Server This forum is for the discussion of Linux Software used in a server related context.

Notices


Reply
  Search this Thread
Old 11-27-2007, 03:14 PM   #1
gonus
Member
 
Registered: Apr 2002
Location: Huntsville, Alabama
Distribution: Ubuntu 9.04
Posts: 445

Rep: Reputation: 30
forgotten ssh password


I recently moved and kept my headless server boxed up for a few months. I have now forgotten the ssh pw. is there a way for me to reset as superuser? Any help is appreciated.

G
 
Old 11-27-2007, 03:17 PM   #2
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417

Rep: Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985
well there is no such thing as an "ssh password" unless you're referring to an rsa psk passphrase, which i'd very much doubt... you certainly can't reset the password without already having local access to the box. hook up a monitor and keyboard, log in locally as root and change away. if you actually mean you've forgotten the root password (don't ssh as root!) then on the boot loader screen you can boot to single user mode. if it's grub, just tack "1" onto the kernel boot options.
 
Old 11-28-2007, 01:25 AM   #3
gonus
Member
 
Registered: Apr 2002
Location: Huntsville, Alabama
Distribution: Ubuntu 9.04
Posts: 445

Original Poster
Rep: Reputation: 30
I completely messed up the command I needed to use ssh -l myusername x.x.x.x


Thank you for the guidance, I got lost for min.
 
  


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
Forgotten Password Love_0 SUSE / openSUSE 3 08-31-2007 08:46 AM
forgotten openoffice password Adriaan Nikken Linux - Newbie 8 06-10-2007 10:19 PM
forgotten my root password, help amanjsingh Linux - Newbie 16 03-31-2004 09:41 PM
Root Password FORGOTTEN kajensen Linux - Newbie 4 08-11-2003 02:06 AM
forgotten password ronss Linux - Distributions 4 04-01-2003 09:02 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Server

All times are GMT -5. The time now is 04:04 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