Livezilla 3 3 2 2 Setup Keyless Ssh

Active1 year, 6 months ago

I am trying to set up a guest user that allows ssh access without a password AND without a keyfile. All my searches turns up people trying to set up password-less entry with a keyfile. Passwordless and keyless SSH guest access. Ask Question Asked 4 years, 6 months ago. Active 1 year, 5 months ago. Viewed 5k times 6. 4 Debug Points to check why your Keyless SSH is not working May 17, 2015 August 6, 2018 by Varun Setting up keyless SSH is quite easy on CentOS but still sometimes there are chances that after following all the steps mentioned in How to setup Keyless SSH with non root users in CentOS post it is still not setup properly.

I am trying to set up a guest user that allows ssh access without a password AND without a keyfile.

All my searches turns up people trying to set up password-less entry with a keyfile. This is not what I'm looking for.

I would settle for just having a blank password, but I can't get that working either; if I delete the user's password, the SSH daemon won't allow any access. I've set 'PermitEmptyPasswords yes' in the config file and restarted the service.

The teacher told the students that 5. Then, the teacher told the students that the poor man had exclaimed, would none of them helped him. Click here to indicate that this reported speech is CORRECT Click here to indicate that this reported speech is INCORRECT. Direct speech: The Teacher said to The Students: 'The poor. The poor man said.

I'm running Ubuntu 14.04.1 LTS.

FreeKeylessXen2050

3/2^2 Fraction Form

7,1173 gold badges23 silver badges44 bronze badges
SemicolonSemicolon

1 Answer

What you're looking for is anonymous SSH access. I found an article for SFTP, which applies to SSH too, if you leave out SFTP-specific stuff:

  1. Create a new user:

  2. Make the password actually empty:

  3. Allow blank passwords for SSH sessions in PAM: edit /etc/pam.d/sshd and replace the line that reads @include common-auth with:

  4. Allow blank passwords for SSH sessions of anonymous in /etc/ssh/sshd_config:

  5. Restart sshd:

I didn't try it myself, but it looks plausible, since my first thought for the culprit was PAM.

David FoersterDavid Foerster

Calculator

29.3k13 gold badges69 silver badges115 bronze badges

2.25 As A Fraction

Not the answer you're looking for? Browse other questions tagged ssh or ask your own question.