sshd is the SSH daemon which responds to incoming requests

learn more… | top users | synonyms

0
votes
1answer
14 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
27 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
16 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
28 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
43 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
0answers
62 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
50 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
54 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
39 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
27 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
87 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
181 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
36 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
12 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
57 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
98 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
84 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
28 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
39 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
30 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
109 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
112 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
51 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
93 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
250 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
58 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 ...
6
votes
3answers
680 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 ...
3
votes
1answer
978 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
11 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
565 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
319 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
60 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
166 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
90 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
176 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
559 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
108 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
103 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
88 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
42 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
336 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 ...
0
votes
0answers
358 views

sftp with sshd special user permissions

I try to set up a sftp server with my raspberry pi. The result should be that there were three users - sftp-readonly, sftp-readwrite and sftp-writeonly - with special access permissions. As the name ...
1
vote
2answers
364 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
53 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 ...
0
votes
1answer
41 views

How do I sync an RSA fingerprint between two operating systems on the same computer?

My computer is set up to dualboot with Mac OS X and Linux. I have SSH access set up so that I can access it remotely on both OSes. The problem is that whenever I switch from OS X to Linux or vice ...
0
votes
0answers
44 views

sshd accepts any password for any account on OS X

I have a newly installed, stock, OSX 10.9.5 iMac system on which I enabled remote logins (ssh) in Sys Prefs. That works, but with a weird twist: users ssh’ing in can type in any password (or even a ...
3
votes
1answer
165 views

how to control users login on Linux machine according to configuration file

I use the PAM to authenticate users login info from - http://linux.die.net/man/8/pam_listfile in my Linux red-hat machine I have 5 diff users user1 user2 user3 user4 user5 I want to enable ssh ...
0
votes
1answer
184 views

DD-WRT on Linksys WRT54Gv8 has no sshd or Rflow options

I'm playing with open source firmware for the first time, and seem to have dd-wrt running successfully on a linksys cascading off my main router (which for fear of bricking, I have not flashed yet). ...
0
votes
1answer
488 views

How to set up a working ssh server on Windows 7 that accepts public keys

What I actually wants it to make it possible to use rsync from an Unix server to backup files on a Windows 7 Ultimate computer. It need to use public keys unattended and I want Unix-style directory ...
1
vote
0answers
54 views

need to start GUI program in Windows through ssh [closed]

I need to start a GUI application in windows machine via ssh. But the problem is when I am using some ssh server this application is running in background. I used freesshd server, which running in ...