sshd is the SSH daemon which responds to incoming requests

learn more… | top users | synonyms

1
vote
1answer
21 views

Connect trough Cygwin without being asked for password

I'm trying to connect to a remote machine using Cygwin, the connection is successful problem is that it always asks me for the password. ssh -i ~/.ssh/id_rsa -o "StrictHostKeyChecking no" ...
1
vote
1answer
134 views

Error enabling sshd on Ubuntu 16.04

I just installed Ubuntu Server 16.04 on a virtual machine and then installed openssh-server. When I tried to enable sshd: systemctl enable sshd.service I got this message: Failed to execute ...
0
votes
1answer
33 views

Yet another “ssh agent forwarding not working”

I can ssh from hostA to hostB and from hostA to hostC using keys loaded into ssh-agent without any problems. However, if I do ssh -A hostB from hostA, then try ssh hostC from hostB, public key ...
2
votes
0answers
57 views

sshd on cygwin: connection reset by peer

I installed inetutils on my cygwin this afternoon, and since then my sshd hasn't worked anymore. Here's the message from ssh client $ ssh localhost sh_exchange_identification: read: Connection reset ...
0
votes
2answers
81 views

script to ssh multiple servers with different password

I have a script that executes same commands on multiple servers via ssh . spawn ssh [lindex $argv 0] send "sudo /usr/sbin/useradd ytkatchen" expect "password:" send "Unix\@999\r" My password is not ...
0
votes
2answers
91 views

Putty Remote Port Forwarding not connecting - Server refused?

So im at work and we have port 80/443 blocked. Im trying to get access to the internet via SSH Tunnel. Im currently connected to a VPN that gives me access to the external network but of course i cant ...
0
votes
1answer
128 views

SSH: Connection closed by remote host

Here's the setup, I have four machines: A: An Ubuntu box, acting as the ssh client; B: An iMac under El Capitan (OS X 10.11), the ssh server I want to connect to; C: Another iMac under Mavericks (OS ...
0
votes
2answers
43 views

As an unprivileged user, how can I configure sshd to allow only specified commands to be executed when it's autheticated with a password?

I usually log in to a SSH server (where I'm an unprivileged user) by using my public keys. I also use authentication by a password when I use the server as a git-annex repository. What I want to do ...
0
votes
1answer
42 views

SSH cannot login from a specific user

I am trying to connect from userA1@hostA to host userB1@hostB using ssh. I added the content of .ssh/id_rsa.pub file from userA1 to .ssh/authorized_keys file of userB1. Set authorized_keys and ...
2
votes
1answer
28 views

SSH - PasswordAuthentication no has no effect

I'm trying to configure my server to disable password authentication, I'm using keys now. The problem is that PasswordAuthentication no is set, but it has had no effect. I'm still prompted for a ...
0
votes
0answers
43 views

ssh-copy-id not working on specific server

I have a server running Ubuntu. I'm not able to grant access to any client using ssh-copy-id: This is part of the sshd_config file in the server RSAAuthentication yes PubkeyAuthentication yes ...
1
vote
1answer
169 views

SFTP: Connection closed

I'm trying to connect via sftp to my Synology NAS 215j running sftp server. The sshd works great for root user, but when I do sftp as root, I'm getting Connection closed just after typing correct ...
0
votes
1answer
166 views

how to make non-root user to ssh using key instead of password?

I've recently purchased the Synology NAS 215j and having problems with SSH. Root user works as expected I've added my public key to /root/.ssh/authorized_keys... Problems with non-root user: sshd ...
0
votes
1answer
117 views

deny ssh from all except 1 IP and allow root from everything

I was able to deny ssh to my server from all ip addresses except 1 by entering sshd: all in /etc/hosts.deny and sshd: x.x.x.x in /etc/hosts.allow (ip hidden) but I want to add an exception ...
0
votes
1answer
80 views

SFTP not switching to password mode

Two servers, synced configs and ssh keys. When connecting to the destination, first server switched to the password mode: debug1: Authentications that can continue: ...
1
vote
0answers
62 views

Can I put a 9.5 mm SSHD disk in an only 7 mm laptop HDD slot?

Can I put a 9.5 mm SSHD disk in an only 7 mm laptop HDD slot? Putting bigger drive in smaller slot? I have a Lenovo flex 2. It's hdd model is a slim WD Blue WD10SPCX with 7 mm height. Unfortunately ...
1
vote
2answers
35 views

How can I make a one-shot sshd process?

I'm trying to find some invocation of sshd (OpenSSH on Ubuntu) that accepts only one connection, and then terminates the sshd process when that one connection closes. I see nothing in the sshd docs ...
1
vote
0answers
349 views

How to set up OpenSSH (server) on Windows 7?

What is the proper way to install OpenSSH (using the latest binary from mls-software) on Windows 7 and configure it to enable remote users to connect via password of public key authentication? I ...
0
votes
1answer
350 views

Can't get sshd_config Match User to work

Am exploring ssh on my el capitan laptop and have managed to get key-based login to work (using an account called adminuser). I now want to see if I can get another administrator account (called ...
0
votes
1answer
45 views

AllowUsers with nothing following it in sshd_config file?

I have no way of testing this and can't find the answer online. If I put AllowUsers in my sshd_config file with nothing following it would the behavior be to allow everyone to SSH into the computer, ...
0
votes
0answers
16 views

ssh 'reverse tunnel' causing blocked port when connection goes bad

I have to have access to a computer behind a NAT. I use ssh reverse tunneling to accomplish this. For some reason, the destination server, which is not behind a NAT, ends up with a blocked port if the ...
0
votes
0answers
81 views

OpenSSH Windows 7 Public Key Authentication

I installed OpenSSH on a Windows 7 machine as LOCAL_SYSTEM account as the option and also allowed key size of 2048. I am able to connect using Windows login however when i implement Public key ...
0
votes
0answers
181 views

Cant access my device via SSH over internet

im running sshdroid server on my android device at port 22 and i get this while i use my pc to connect to it via ssh (LAN) root@kali:~# ssh -l root 100.107.219.116 The authenticity of host ...
1
vote
3answers
106 views

SSH over public LAN?

I am using two laptops (OS X and Windows 10) at a Starbucks and want to transfer a file from one to the other without using a USB flash drive. It is a large file so I don't want to send it over the ...
1
vote
2answers
30 views

Can I know what others login via ssh have done and what they are doing on my Linux?

As a root user, can I know what other ssh-login users have done and what they are doing on my Linux?
0
votes
0answers
63 views

Why would Putty SSH hang even when another connection is fine?

This started some time a few days ago. I connect via Putty SSH from home in Chicago to a Linux server on AWS EC2 us-east-1 to do some scripting work on the command-line. Chicago to us-east-1 is a ...
0
votes
0answers
31 views

sshd: may ~/.ssh directory be symlinked

All the home directory dotfiles are symlinked into a repository, including the .ssh/. ssh seems to work fine, but I'm unable to connect to my server, if it is using the same setup. Tried changing the ...
-1
votes
1answer
150 views

Can't run sshd on a different port with command line (inside docker)

I want to run sshd inside a ubuntu docker container on a different port than 22 (for a tunnel). I executed the commands from https://docs.docker.com/examples/running_ssh_service/. The first time i ran ...
1
vote
0answers
153 views

SSH connection closed after SSH2_MSG_SERVICE_REQUEST

My SSH connection is being closed just after this message: debug1: ssh_dss_verify: signature correct debug2: kex_derive_keys debug2: set_newkeys: mode 1 debug1: SSH2_MSG_NEWKEYS sent debug1: ...
0
votes
0answers
67 views

Compiling OpenSSH without “consolekit.patch”

I'm currently encountering issues with some tools that connect via SSH to a remote machine (Eclipse's remote deployment) to deploy files automatically. Around 90% of the time, when I initiate the ...
2
votes
1answer
132 views

libssh2 - Agent Forwarding not working

I am using libssh2 library to ssh connections in my mobile application. Here I want to use Agent Forwarding support. I have followed same procedure as they have provided in example here LibSSH2 Agent ...
4
votes
2answers
333 views

How to start ssh server on different port?

I want to start ssh server on port 21 (for one of my local hosts). OS X Yosemite (10.10.4) I've changed /etc/httpd_config by adding: Port 21 Then restarted server: sudo launchctl unload ...
0
votes
1answer
86 views

SSH ClientAliveInterval specific to a user

I would like to know if there is a way to define different ClientAliveInterval and ClientAliveCountMax for different users. For example, I have users that can access the shell and want to set ...
7
votes
3answers
930 views

SSH Agent loses identity while restart machine

After creating keys with name id_rsa at it's default location. I am adding identity to SSH agent with command ssh-add ~/.ssh/id_rsa, It's adding successfully. I can SSH without entering pass phrase ...
4
votes
1answer
2k views

How to do SSH agent forwarding on Mac terminal?

I have checked many tutorials regarding this but not getting clearly. As per tuts, there are two way to configure for agent forwarding in your config file ~/.ssh/config set Host example.com ...
0
votes
0answers
12 views

SSH block second level connection

I have 3 Linux environments, lets say L1, L2 and L3, I want to be able to SSH from L1 to L2 and from L2 to L3 but I want to block a user from second level connection i.e. The user who does an ssh ...
0
votes
1answer
859 views

Can't Change SSH Daemon's Port Number under CentOS 7

I've upgraded my VPS to CentOS 7 from CentOS 6. Back when I was running CentOS 6, simply changing the port number of the SSH daemon under /etc/ssh/sshd_config used to make my remote SSH connection ...
0
votes
1answer
459 views

Cannot connect to Google Compute Engine instance via SSH

i am new to google cloud,i just deployed my first instance it was working fine till yesterday, i used last time to set email server using this tutorial email server, but now i am unable to connect ssh ...
1
vote
1answer
84 views

connecting to host running ssh2 server using ssh client

I am trying to connect to a linux host( target_host) running sshd2 using a ssh client( client_host) ;While doing so I converted the pub key of client_host as ssh-keygen -e -f id_rsa.pub > ...
1
vote
2answers
248 views

Allow SSH direct Root user login to particular IP addresses

I have configured ssh login disable direct root user, configuration are, /etc/ssh/sshd_config Port 1845 PermitRootLogin no AllowUsers SKBFSXDWA I would like to direct root login to specific ...
0
votes
0answers
107 views

How can I do ssh or scp without restarting the sshd service

I had a problem related to ssh about a week back -- Ssh/Ping Problems in Mac Yosemite through wifi but not ethernet. I was able to solve the problem. However, now I am facing another problem, where I ...
0
votes
1answer
207 views

can't ssh to linux machine from mac

I have 2 Amazon machines: A(Centos) and B(Ubuntu). I can access B only from A. When I try to connect from my Mac machine to A and then to B, I get the following error: [alexarsh@A ~]$ ssh alexarsh@B ...
2
votes
3answers
784 views

SSH Private Key Authentication Failing

I'm kind of stuck here.. I am trying to disable all SSH login capabilities of root. No password login. No key-based login. Nothing. I have a user "andrew" that should only be able to SSH into my ...
1
vote
0answers
154 views

SCP connections mysteriously drop; too many connections?

I am running OpenSSH via Cygwin on a Windows 2008 server. This system acts as a file server for a pool of 30 build systems. At build time, each build system copies files as necessary from the file ...
0
votes
0answers
115 views

SSH login too slow in Centos 6.6

SSH login take too much time in my CentOS machine, and also a ftp server is running on it. Please help me to speedup the login time for both root and ftp user. I tried some tricks but no ...
0
votes
2answers
106 views

SSH vs Apache port 443

I want move SSH to port 443, but is used by https. In /etc/apache2/ports.conf I commented the lines for listen by this port. In the default site available also commented the lines. For finish, I ...
3
votes
1answer
44 views

SSH key exchange configuration uncertainty

I'm currently configuring ssh on a server and reading trough several guides. Many feature a @url.tld after the option in KexAlgorithms like: KexAlgorithms curve25519-sha256@libssh.org This is ...
1
vote
2answers
555 views

Do you know linux live-cd with sshd enabled by default? [closed]

please advice a Linux live-CD which has an sshd server enabled by default. I want to use it as rescue and setup for headless servers. It should get ip by dhcp or fallback to reasonable default ip if ...
1
vote
2answers
465 views

SSH service for Windows CE [closed]

I have a small headless WinCE device. It runs Windows Embedded Compact 2013. I want to replace the existing Telnet service with a service that implements the SSH (or OpenSSH) protocol. I found an ...
0
votes
1answer
63 views

Adding ssh public key from os x to ubuntu doesn't work

I've just switched my server to ubuntu and everything works except the ssh server. I've installed the sshd server and I generated on my mac ( client ) a key like this: ssh-keygen -t rsa -C ...