Questions tagged [sshd]

The Secure Shell (SSH) daemon. It is the server side process to which SSH clients can connect and invoke commands and services. Note that system administration questions are off-topic on this site.

SSHD is an acronym for Secure Shell Daemon, the OpenSSH SSH server. It is the server side process to which SSH clients can connect and invoke commands and services.

Use instead if your question is not specifically about the daemon, but (also) about the client or the protocol.

Note that system administration is off-topic on Stack Overflow. If your question is not a programming question, ask on Unix & Linux (if running under Linux or other unix system), Super User (if you aren't a professional system administrator) or Server Fault (if you are a professional system administrator).

Useful Links:

The acronym is occasionally used to refer to Solid State Hard Drives, more commonly abbreviated .

392 questions
0
votes
1 answer

SSHD on OS X in Travis CI

I need SSHD (SSH server) enabled in order to make Hadoop running in my Travis CI job. For Linux I just do sudo apt-get install openssh-server and it works. But for OS X the only tips I've found say to enable Remote Login in settings: How to install…
Michal Kordas
  • 10,475
  • 7
  • 58
  • 103
0
votes
1 answer

How to pass env variables through ssh to an user redirect to chroot

I need to isolate some users in a chroot jail, all works fine. But there is a last remaining issue: for these users (redirected to the chroot), the env variables coming from the ssh client are lost. For example, my users send the env LANG though…
0
votes
1 answer

How do I give the user a customized error code/block reason with a custom pam ssh module?

I wrote a pam_module whichs does a couple of things and became to huge to post any code here. It basically works similar to pam_abl but with a couple of additional features like City/Country based blocking as well as checking with a dns blacklist.…
Wirsiing
  • 77
  • 3
  • 9
0
votes
1 answer

Apache Mina and SSHD (reverse SSH): Invalid Packet length 0

Please share your ideas on how we can resolve this exception We are working on Netconf Over SSH and the SSH library used is Apache Mina and SSHD. Device is the Netconf server and Application is the Netconf Client. As device is behind firewall,…
Vikram Darsi
  • 79
  • 2
  • 8
0
votes
1 answer

ssh blocking when trying to store command output to variable

I'm not quite sure what the issue is. I'm on Kali Linux 2.0 right now, fresh install. The following worked on Ubuntu 14.04 but it's not working anymore (maybe I accidentally changed it?). It looks correct to me, but every time it runs it…
user1944429
0
votes
1 answer

SSH and maxstartups confusion

In the sshd_condifg I have set following entries: maxstartups 50:100:50 clientalivecountmax 3 maxauthtries 3 But still in the ps results I can see at least processes that look like this: ps -fe|grep aaa_test (...) root 11014 5023 0 Oct13 ? …
meso_2600
  • 1,940
  • 5
  • 25
  • 50
0
votes
1 answer

Ubuntu sshd_config host key: how to give a new user the rsa key for having access thru ssh (via putty for eg)

I am having a web server with ubuntu 12.04. I received DDoS attacks and secured it with fail2ban. I changed the ssh port to 11111 (just for example) In fail2ban I modified the ssh listening port to 11111 as well. I removed privileges to all existing…
tom
  • 55
  • 1
  • 9
0
votes
1 answer

Could not create directory '//.ssh': No such file or directory

I'm running SSHD on my Windows machine, which I downloaded from http://www.apache.org/dyn/closer.cgi I was able to run SSHD, but whenever I tried to connect from the same machine, it gives the following error. C:\Users\fk>ssh fk1@localhost -p…
0
votes
0 answers

sshd_config: AllowUsers is allowing unauthorized users

So I've a VM that has SSH login. In this machine I only want one user ( lets say admin) to be able to login in via SSH. Ive changed the sshd_config and added the AllowUsers admin directive. The problem is that I can still login to the machine with…
Ricardo Mota
  • 1,194
  • 2
  • 12
  • 25
0
votes
1 answer

How can I create a pem file + google-authenticator access to Amazon EC2?

I'm trying to create an authentication process to a Amazon EC2 Ubuntu instance that will require the usage a key-pair generated by Amazon AND using Google-Authenticator. Ergo I want to login to the instance with my pem file and then be prompted with…
0
votes
1 answer

ssh-copy-id does not copy to custom 'AuthorizedKeysFile' specified in sshd_config

I have a modified location for my user's authorized_keys including those of root's away from //.ssh to /abc/%u. [root@server]# grep AuthorizedKeysFile /etc/ssh/sshd_config #AuthorizedKeysFile .ssh/authorized_keys AuthorizedKeysFile …
rajivRaja
  • 527
  • 3
  • 6
  • 16
0
votes
1 answer

sshd@QNX: Could not load host key / Missing privileges separation

I followed the manual provided by QNX for SDP 6.6.0 on how to set up the OpenSSH SSH daemon except I tried to get it running on an existing Neutrino OS. To no avail so far. I encountered several pit falls which I could not find to be solved in any…
Jim McAdams
  • 1,034
  • 1
  • 14
  • 30
0
votes
1 answer

Setup SSH for Auto Login without a Password

Well, I have 2 computers call 120 and 110. I am trying to configure a ssh connection without password from 110 to 120. This is what i have done in the 120: 1- ssh-keygen -t rsa 2- scp ~/.ssh/id_rsa.pub root@110:.ssh/authorized_keys and then in the…
amarincolas
  • 141
  • 14
0
votes
2 answers

run command as administrator on remote windows machine

Situation: Running the bat file on windows machine: 1. When I double click the bat file: Bat running is failed. 2. When I right click on bat file and run as administrator: Bat run is successful. Now I have to run this bat file successfully from…
Shashi Ranjan
  • 1,491
  • 6
  • 27
  • 52
0
votes
1 answer

Does an SSH Server ever receive the user's password in plaintext?

I was just wondering if the SSH Server will obtain the plain password at some point in the authentication process. I know that the password is sent encrypted, but it somehow has to be validated and thus be decrypted by the server. Does the SSH…
user0815
  • 1,376
  • 7
  • 8