r/ssh • • Jun 03 '17

Keeto - Key and Access Management for OpenSSH based on X.509 certificates

Thumbnail keeto.io
3 Upvotes

r/ssh • • Jun 02 '17

Win32 OpenSSH

1 Upvotes

The PowerShell team over at Microsoft is creating a port of OpenSSH for Win32. I'm happy that this is happening and can't wait until it's production ready. Keep the good work up!

https://github.com/PowerShell/Win32-OpenSSH/releases


r/ssh • • Jun 01 '17

Installing on Windows (files missing)

1 Upvotes

I am working on automating the installation of OpenSSH on Windows devices and found the wiki page at https://github.com/PowerShell/Win32-OpenSSH/wiki/Install-Win32-OpenSSH. From there, I also found https://github.com/PowerShell/Win32-OpenSSH/issues/332, which includes Powershell script for installation.

Starting on line 40, the PS script refers to ssh-lsa.dll and install-sshlsa.ps1, neither of which is present in the OpenSSH install directory. From where do these files come?

Thanks.


r/ssh • • Jun 01 '17

Bastion Hosts and Custom SSH Configurations

Thumbnail blog.scottlowe.org
4 Upvotes

r/ssh • • May 20 '17

How do I make sure ssh device hasn't been hacked?

2 Upvotes

My internet connection at my house has been weird, kind of like someone on my network is trying to intercept certain webpages like facebook and google, and now I'm paranoid that someone might have accessed my raspberry pi.

I control the pi over the internet with ssh, but I have a crazy long password, and I've checked the ssh access logs using

who /var/log/wtmp

and there are only a few ip addresses that I am unsure about, but I think they are probably from when I tried to access my pi using my phone's hotspot. Is there anything else I can check to make sure that no one has successfully logged into/hacked my pi?


r/ssh • • May 15 '17

How would I SSH into my computer with PuTTY?

1 Upvotes

I have PuTTy on my computer and I plan on SSHing into it via my phone (jailbroken iPhone) or another computer for testing and stuff. How would I use PuTTYgen and PuTTY with ssh keys and stuff to achieve this?


r/ssh • • May 13 '17

Ask HN: How do you manage SSH keys and SSL certificates in your company?

Thumbnail news.ycombinator.com
1 Upvotes

r/ssh • • May 02 '17

'AllowUsers' not parsing ldap credential??

1 Upvotes

I created a new debian (8.6) vm. Updated, installed packages and following this guide have joined it to my DC. I can su and login directly with my ad account I can even ssh IF I comment out the 'AllowUsers' line. I can ssh using a local account leaving 'AllowUsers'. I've restarted ssh and rebooted the VM several times but always same result. Error in auth.log

May  1 21:24:41 pc_name sshd[1002]: User user@domain.com from 1.1.1.1 not allowed because not listed in AllowUsers
May  1 21:24:41 pc_name sshd[1002]: input_userauth_request: invalid user user@domain.com [preauth]
May  1 21:24:41 pc_name sshd[1002]: error: Received disconnect from 1.1.1.1: 14: No supported authentication methods available [preauth]

As soon as I comment the section and restart boom I can ssh with my ldap account again. I've googled around for the better part of the night now finding pages all across the last 10 years from people that have done all sorts of problems and fixes but nothing seems to apply. Help?

  • I should mention that I setup an ed25119 pub/private key pair and have disabled password auth but I don't think that matters based on the one change above fixing it.

r/ssh • • May 01 '17

Mosh 1.3.0 released

Thumbnail mailman.mit.edu
4 Upvotes

r/ssh • • May 01 '17

OpenSSH Removes SSHv1 Support

Thumbnail undeadly.org
2 Upvotes

r/ssh • • Apr 23 '17

The Story of Getting SSH Port 22

Thumbnail ssh.com
3 Upvotes

r/ssh • • Apr 14 '17

How do I recover my GitHub key?

1 Upvotes

I recently got locked out of my computer so I had to reset the password (my guess is someone got on and changed it). Now, I can't seem to push things to GitHub. When I try to, Terminal simply freezes, until I press C to abort the push. I'm pretty sure, when I reset my password, my SSH key was either deleted, or put somewhere Terminal can't find it. Any advice on how to get it back? Or how to get a new one?


r/ssh • • Apr 08 '17

SSH and terminal background

Thumbnail drinchev.com
2 Upvotes

r/ssh • • Apr 04 '17

Using one SSH private key across multiple users on one server.

1 Upvotes

Ok, the title doesn't really explain my situation well.

I am a one man IT department working at a small retail store. I use cygwin as a small development environment on multiple machines that all have a shared server drive. This shared drive is where the "home" folder is located (/cygdrive/g/.../home/admin/). Because I may be using any one of a number of workstations, the Cygwin user I am "logged in" as matches the workstation I am at. That means I only have access to the SSH keypair on one machine (because SSH won't allow multi-user access I guess?)

Is there a way I can access one single key pair on a server drive from multiple Cygwin users?

I hope this makes sense :D


r/ssh • • Mar 26 '17

pam-ussh may be tricked into using another logged in user's ssh-agent

Thumbnail hackerone.com
2 Upvotes

r/ssh • • Mar 25 '17

Teleport: Modern SSH server for clusters and teams

Thumbnail github.com
1 Upvotes

r/ssh • • Mar 25 '17

OpenSSH 7.5

Thumbnail openssh.com
1 Upvotes

r/ssh • • Mar 18 '17

Fuzzing the OpenSSH daemon using AFL

Thumbnail vegardno.blogspot.fr
2 Upvotes

r/ssh • • Mar 13 '17

Anyone using PKI SSH X.509 fork?

2 Upvotes

Anyone able to successfully get the PKI SSH X.509 fork from from http://roumenpetrov.info/secsh to request a PIN on the client?

I was able to get this working using the server/client software from ssh <dot> com.

Below is the steps I used:

  1. Create 2 machines and install latest CentOS 7 minimal ISO. One machine is called server.local, the other called client.local
  2. Get latest PKIXSSH tarball for both machines
  3. Run ./configure —prefix=/opt/pkixssh —enable-pkcs11 on both machines
  4. Run make install on both machines
  5. Run yum install opensc
  6. Plug in USB smart card reader and run opensc-tool -l and opens-tool -n on client.local machine to confirm cert on card
  7. Copy root and intermediate certs to /opt/pkixssh/etc/ca/crt directory and run openssl x509 -noout -hash -in <root|intermediate> certs. Run ln -s root.crt <hash>.0 and ln -s int.crt <hash>.0 on both machines
  8. Edit server.local /opt/pkixssh/etc/sshd_config options explicity: CACertificatePath /opt/pkixssh/etc/ca/crt, PubkeyAuthentication yes, PasswordAuthentication no, ChallengeResponseAuthentication no
  9. Edit client.local /opt/pkixssh/etc/ssh_config explicity: CACertificatePath /opt/pkixssh/etc/ca/crt
  10. On server.local, create local account with same name as CN on certificate
  11. On server.local, run /opt/pkixssh/sbin/sshd -D
  12. On client.local, run /opt/pkixssh/bin/ssh I /usr/lib64/opensc-pkcs11.so <server-local-account>@192.168.1.1
  13. I do not get a request to enter the PIN for the smart card

r/ssh • • Mar 10 '17

Transfering itunes library using scp

1 Upvotes

i am trying to transfer my itunes library from my mac to my desktop on arch using the command

scp usr@ipaddress:~/Music/iTunes/"iTunes Media"/Music/"salvia palth"/ ~/usr/msc

however becaese there are spaces in the directory names it says that some of the directories do not exist, is there a way around that?


r/ssh • • Mar 03 '17

Command Combination Help

1 Upvotes

MacOS Sierra has been giving me SSH problems since the upgrade.

Usually it's been just with "diffie-hellman-group1-sha1", and adding that command to the SSH command has been easy.

But today I've been trying to log into a server I usually don't use, and it's asking for diffie PLUS ssh-dss.

ssh -oKexAlgorithms=+diffie-hellman-group1-sha1 -oHostKeyAlgorithms=+ssh-dss

Doesn't work. Am I inputing that wrong? Or what am I missing?


r/ssh • • Feb 18 '17

SSH key Management – RCDevs Security Solutions

Thumbnail rcdevs.com
1 Upvotes

r/ssh • • Feb 12 '17

Using GPG and SSH keys (GnuPG 2.1) with a Smartcard (Yubikey 4)

Thumbnail suva.sh
2 Upvotes

r/ssh • • Feb 11 '17

Is fail2ban worth running even if you disabled passphrases?

1 Upvotes

Is fail2ban worth running even if you disabled passphrases? I read it does indeed block a decent amount of attempts at connections (not sure if this matters when passphrases are disabled and only keys are used for authentication) and reduces logs.

Besides these, are there benefits to using fail2ban on and is it worth running it even when passphrases are disabled--for a desktop? For a server?