Talk:SSH

From DreamHost
Jump to: navigation, search
Comments or questions about the article itself are appropriate in article "Talk" pages.

The wiki is primarily a documentation tool, and is generally not the place to ask questions that are not specifically related to the article. Please use the Customer Forum, or the Control Panel, to ask questions or to discuss a subject or policy. If you are going to leave comments on a talk page, please sign your comment with four tildes "~~~~", which will insert your user name and timestamp your comments.

Has the passwordless login stopped working for anyone else? The pagent is up and active, I've not modified the server but verified that the key is in place and that the permissions are 700 for .ssh and 600 authorised_keys but it fails.

Any clues?

---

you also need to do

chmod go-w ~

ie, remove write privilete for group and other users, on your homedir.


Okay, it works again now.


Can't connect (or ever ping) abc.dreamhost.com. WTF?

Dbf

Dreamhost doesn't have a server named abc. Check your login info in the panel. Lx45803 12:06, 15 February 2010 (UTC)

Passwordless login - script

I wrote simple bash script which does everything what is needed to login without pass. Hope you'll find it usefull: [1] --Ludwikc 15:10, 9 April 2007 (PDT)

Sudo to nobody

Is there any way to sudo -u nobody ? I've got some permission problems to debug where a routine is being called as another user (apache) and I want to confirm that suid is working correctly.

You'll have a much better chance getting an answer to your questions by using the DreamHost Discussion Forums than you will by leaving a question here. These talk pages are designed to be used for discussing the article itself, not general tech support about the subject. BTW, the answer to your question is "no" (and it is right there in the article. See section SSH#.5BUser.5D_is_not_in_the_sudoers_group.
There are other ways to approach your debugging, and users in the Forum are likely to be able to help you . -- Rlparker 19:35, 19 October 2007 (PDT)

The Public Library blocks port 22

From the public library one wishes to connect, but they have blocked port 22 outbound. All one can do is stare at PuTTY's port number entry box wondering what number to now type in if any.

In desperation he goes to a "web cafe", but is told all one can do is play video games.

Mention if the user is "sh*t out of luck" or not please. Jidanni 13:24, 23 December 2007 (PST)

Debian SSH vulnerability

Any indications as to Dreamhost's vulnerability or response to the recent Debian openssh/openssl advisories? http://www.us.debian.org/security/2008/dsa-1571

Mod to the windows/putty section

I took the first comment on this page as a clue, and found that the

chmod go-rwx ~/.ssh ~/.ssh/authorized_keys

was necessary to get it working. I'd actually done that with

chmod 700 ~/.ssh
chmod 600 ~/.ssh/authorized_keys

but thought the mnemonic access codes would make more sense to the readers of this documentation. Nesdream 17:33, 11 December 2008 (UTC)

entering password only once

The Success I am using cygwin and PuTTY to ssh to numerous remote hosts. I have the passwordless login setup without issue using putty and cygwin (though my key pair has a passphrase). I use pageant for PuTTY, so I only need to enter that once when my machine boots.

The Failure The trouble is using ssh-agent in cygwin. I added the supplied lines to my profile, and I can see the .ssh-agent file, and environmental variables.

However every time I ssh to a new host (within the same parent session) I must re-enter my passphrase for the key.

Any ideas?

Eddiewebb 18:21, 8 May 2009 (UTC)
Figured it out!
Type
ssh-add ~/.ssh/id_rsa
or add that to the block of code.

Get that darn delete key to work

I'm using the terminal provided with Mac OSX 10.5

The dang delete key hasn't been working. Surfed the discussion forums, found this hint:

  • In your terminal window -before- you ssh to dreamhost do this:

echo $TERM

it may say: "xterm-color"

dreamhost doesn't seem to like this flavor too much. Try this. In the terminal, *before* you do your SSH command, type this:

export TERM=xterm

now ssh to dreamhost. This fixed the issue for me.

Tikimojo 02:18, 16 June 2009 (UTC)

server.dreamhost.com

"After enabling, your SSH login will be: ssh username@server.dreamhost.com" Is this outdated info? The email I got said:
Hostname: "yourdomainname.com"
or
ipe.dreamhost.com
If your domain was recently registered or recently directed to our name servers, you may not be able to connect immediately. In that case, you can login via SSH *temporarily* from ipe.dreamhost.com.
Nathan Larson (talk) 18:46, 19 September 2012 (PDT)