Questions tagged [sshd]

sshd is the SSH daemon which responds to incoming requests. Do not use this tag for questions about Solid-state hard drives! They should be tagged with "hybrid-storage" tag.

Filter by
Sorted by
Tagged with
0
votes
0answers
26 views

How do I change the allowed host key algorithms for SSH?

I am writing an application which uses the libssh library. I am trying to establish a connection from the client side where the app runs to the server. However, instead of connecting, I get an error ...
0
votes
1answer
14 views

How can I get my Cygwin SSH server to log into a file?

On proper Linux systems, the SSH server typically logs into a file, e.g. /var/log/auth.log or /var/log/syslog etc. But - that doesn't exist on my Cygwin system; and merely editing /etc/sshd_config ...
2
votes
1answer
63 views

Is sshd hard-coded to require root access?

I am attempting to run an SSH daemon as a non-root user, as I want to provide SSH access to our Git repositories on a server which I do not have root access for. I have got it to run using a custom ...
0
votes
2answers
809 views

sshd config: Allow connections only from within the same private network

I would like to configure sshd so that any user inside the same private network is accepted, but everyone else is denied. Example: My IP address is 192.168.1.159, so anyone inside the network 192....
0
votes
0answers
16 views

Cannot connect through ssh to pi using port forwarding

I am very new to this topic so maybe I am just missing some basic information here. I forwarded a port sent to my external ip adress of my router to the ssh port of my pi (22). Now when i try to ...
0
votes
0answers
14 views

ssh access with key - only work for root account

I found online the possibility to acces Buffalo NAS with SSH. I'm trying to backup my server using rsync on a remote (NAS) destination and I'm aiming to access the NAS with a regular user, lets call ...
0
votes
1answer
43 views

OpenSSH Server on Windows refuses logons. How do I fix?

My OpenSSH Server denies all login attempts, returning "permission denied" regardless of keyfile, password, etc. When started in debugging mode on the windows host, the server prints PS C:\Users\...
0
votes
0answers
9 views

Ciphers, KexAlgorithms, MACs configuration on openSSH 7.4

After doing a SSH audit using the tool https://github.com/jtesta/ssh-audit. I implemented all the recommendations showed in the results. The results were all green after running the ssh audit again, ...
0
votes
2answers
70 views

Windows 10, sshd.exe missing

According to this, OpenSSH is now part of Windows. The executable files are in C:\Windows\System32\OpenSSH, and indeed I could see them on my system. However, sshd.exe is not there. Does anyone know ...
0
votes
1answer
49 views

SSHd of Linux Server keeps on getting failed and recovered every few hours

I am using Digital Ocean's Droplet Linux server, with Cpanel. It was all ok but now we are receiving continuous mails every 2 hours from Cpanel with title, "[Hostname] FAILED ⛔: sshd (Server IP ...
0
votes
0answers
43 views

ssh fails between source and destination Linux servers

source Linux 10.9.9.11 -> destination Linux 10.0.9.99 I'm using custom ssh keys "/app/ssh_keys/id_rsa" Below are the permissions and public key (/app/ssh_keys/id_rsa.pub) entry on the destination ...
0
votes
0answers
22 views

Allow access in a vsftpd server to a local user set previously in sshd DenyUsers parameter

I have the following doubt about how to perform the next setting, I don't even know if it's possible, that's why I would like to know your opinion. On a secured Linux server that is accessed with AD ...
2
votes
1answer
134 views

Should I be worried about /bin/sync when exposing my SSHD server to the internet?

I'm preparing to expose my server to the internet and would like to be as secure as I can be. I've taken security through obscurity measures such as changing from the default port 22, I've made sure ...
0
votes
1answer
42 views

Does php script executed by user count as alive session?

Let's say I set in sshd_config ClientAliveInterval 900. Will the system disconnect me if I run some script for 16 minutes?
0
votes
1answer
130 views

Global SSH key, working for root user but not for other users

I am trying to set up a global ssh key, that will allow me to log into any account with just one key. So far added a global directory /etc/ssh/authorized_keys to the Authorized_Keys section of the ...
0
votes
1answer
109 views

SSH asking user password when connecting on a port

I have a computer C SSH reverse tunnelled to server B at port X. Now I want to connect from computer A to computer C via B at port X. When I do normal SSH from computer A to B as: ssh -i KEYA ...
1
vote
1answer
222 views

Openssh Service not working | Windows 10

I installed OpenSSH on windows 10 which is using Kaspersky as my security suite. When I start the openssh server in powershell on the default port 22 everything works fine. I am able to log into my ...
0
votes
0answers
35 views

How to get uid from ssh certificate attribute

I'm working on deployment of ssh certificates instead of just public keys in my organisation. My goal is to keep uid the same for each user across the infrastructure and I think the best way to ...
0
votes
0answers
24 views

PAM: Authentication failure only when accessing from VPS

I'm having a problem where I can ssh normally to my server from my computer, but when I try to connect from a VPS or even from a VPN static IP, I get this: Oct 9 16:01:21 server1 sshd[1242]: error: ...
1
vote
2answers
504 views

Login to SSH with no password and no ssh-key?

Mission : Let's say my remote server's firewall is configured to allow only my specific home IP to connect to port 22 and because of this I am not worried about security for this test. And maybe I ...
3
votes
1answer
3k views

How to restart ssh service on macOS?

How to restart SSH in Mac Pro? When I used: sudo service ssh restart its shows: Command not found
1
vote
1answer
667 views

Putty SSH Tunnel Portforwarding not working with remote MongDB database

I'm having trouble connecting to a remote database server. I'm on a Windows 10 client and can successfully connect to my Ubuntu 16 server with putty over SSH, including with a keypair. Now I have a ...
1
vote
1answer
167 views

Command to disable password login via ssh?

So, I am aware I can disable password authentication via ssh by modifying /etc/ssh/sshd_config by changing PasswordAuthentication Yes to PasswordAuthentication no. I want to ensure ssh logins can only ...
1
vote
1answer
215 views

SSH user not getting authenticated through kerberos

I have setup kerberos in my ubuntu machine and I am able to get tickets for users via kinit from my other Fedora Linux client machine. But getting below error in sshd debug logs, no idea what it ...
0
votes
0answers
39 views

SSH indruder trap

I would like to know if anyone has ever implemented a SSH trap. It would be interesting to set up a system where if someone was to port scan my computer they would find my SSH port open(port 22) and ...
0
votes
0answers
46 views

Issues SSHing into my machine

So I've been trying to have an accessible SSH server from home, and I opened the SSH port so that It would be accessible from the internet. When I log in through my LAN IP address, everything goes ...
0
votes
1answer
472 views

freenas sshd port forward open failed: administratively prohibited

I have a freenas server with an ssh port open to the internet. I want to access a server within the network the nas is in, so I used an ssh port forward like this: ssh -N -L 8080:host:80 root@freenas....
1
vote
1answer
243 views

Removing SSH key for user / i.p. address to server running OpenSSH/sshd

I recently had some issues with upgrading my distro to the latest LTS and allowed my local admin to log into my laptop via ssh, using my username and gave them root access. While this was helpful, I'...
0
votes
3answers
631 views

Ping Equivalent for SSH

Is there an equivalent to running ping $HOST but for the ssh daemon? Just to check if it's running, no attempt to log in as a specific user or validate with credentials Something like DAEMON_UP=$(...
0
votes
0answers
35 views

ssh configure rsa public key login without input password failed

I have two remote servers host1 and host2. I login them with the same user "sftp". I configure ssh setting to login without password. It works with host1, but don't work with host2. The difference ...
0
votes
0answers
26 views

Deploying Geomesa on OpenShift Origin

I've been trying to replicate some of these manipulations in order to get to deploy Geomesa on openshift. The project is using Hadoop, Accumulo, Zookeeper and Geomesa. The first thing I tried is to ...
0
votes
0answers
20 views

SSHD Wildcard %u Not Accepting Keys In Folder

I have a folder with a bunch of ssh keys that I want to give access to my server. Accordingly I go to my sshd_config and add the following line: AuthorizedKeysFile /path/to/keys/%u And according to ...
1
vote
0answers
30 views

Cygwin/Babun: ssh-host-config error with local ADMINSTRATORS and/or SYSTEM

executing ssh-host-config -y shows following output: .... *** Info: called 'sshd'. *** Info: For more info on privilege separation read /usr/share/doc/openssh/README.privsep. *** Query: Should ...
1
vote
0answers
90 views

Unable to ssh into Centos VM (CentOS minimal ISO in virtualbox)

I have installed Centos minimal ISO on virtualbox. I modified hosts.allow to allow ssh incoming connection. There is no firewall blocking ssh connections. I am able to ssh into the VM from the host ...
0
votes
0answers
2k views

Q: Root user invalid for ssh on alpine linux

tl;dr: The root user of alpine linux 3.9.4 is invalid for ssh unless setting a password. Why? I'm having an odd behavior with ssh and the plain root user of linux alpine. Setup I have created an ...
0
votes
1answer
124 views

Can't ssh into a Linux server after ISP was changed

The organization which network this server is a part of is changing its ISP. When I switch this server to new values of IP, gateway, etc., I can't connect to it via ssh anymore. I went to one of the ...
1
vote
1answer
79 views

PID of SSH port forwarding inside Docker not available

I have 2 machines. There're my machine and a machine running SSH Docker container. Some service is running on my machine on a specified port and I'm doing port forwarding to SSHD container. Then I'm ...
0
votes
0answers
144 views

get error “free(): invalid next size (fast)” when use ssh

when I try to login my server with ssh,get error "free(): invalid next size (fast)" Welcome to Ubuntu 18.04.2 LTS (GNU/Linux 4.15.0-45-generic x86_64) * Documentation: https://help.ubuntu.com * ...
2
votes
2answers
2k views

Synology DSM 6.2.x: How to SSH as non-admin user

Since DSM 6.2.2 we have troubles connecting to a Synology NAS as non-admin user via ssh. Before this was possible by simply changing the login shell in /etc/passwd from /sbin/nologin to /bin/sh. This ...
0
votes
0answers
257 views

Can't connect by filezilla or Putty. sshd. Digitalocean

I tried to connect by filezilla but I got an error "Disconnected: No supported authentication methods available (server sent: publickey,gssapi-keyex,gssapi-with-mic)". There I set port 2212, user ...
0
votes
0answers
2k views

Bad protocol version identification ' ' from xx.xx.xx.xx port xx

I've set up my raspberry pi to be able to connect to outside network so i can access it when not there. Now that it's connected to the internet people are what i assume port-scanning it but as it is ...
0
votes
1answer
113 views

Unable to use `read` command in .ssh/rc

I want to read input from keyboard when SSH connection established. So I edited .ssh/rc file and used read command, just like: #!/bin/sh read -p "input: " something echo $something But the output ...
2
votes
1answer
2k views

Cannot set X11 forwarding from a WSL-machine

I put the following settings into my SSH-enabled remote machines, with the hope that I can launch GUI programs through SSH sessions. # These settings shall go to `/etc/ssh/sshd_config`. ...
0
votes
0answers
224 views

Configure “remote sharing” SSH interface on OS X Mojave

I use a VPN connection for work but I'd like to be able to SSH to my Mac while I'm connected to my VPN. If the VPN is connected the "remote sharing" interface binds to the tun, not my wifi address (...
0
votes
1answer
101 views

How to enable SFTP but disable shell for root

I already have SFTP for root user enabled on my server but I do not want any user to use root to execute any statements on the terminal. They should use their accounts. I have tried setting ...
2
votes
1answer
460 views

sshd wont accept key but only if named id_rsa

Running into an odd issue with sshd where it will accept a key but only if it's not names "id_rsa" [root@login01 .ssh]# cp id_rsa idrsa [root@login01 .ssh]# md5sum id_rsa idrsa ...
1
vote
2answers
263 views

SSH refuses to timeout if a top session is open [Linux]

If I ssh to a server and i open top packets are being sent over the network, so the normal ssh timeout(because of idling) will not work. This means an ssh connection can stay open forever if a top ...
0
votes
2answers
1k views

Windows 10 sshd - passwordless incoming ssh demands a password

I am attempting to set up passwordless, passphraseless ssh from a Linux Mint 19.1 host to a Windows 10 host. The Windows 10 host has OpenSSH_for_Windows_7.7p1 on it. This is Microsoft's OpenSSH port. ...
0
votes
1answer
72 views

How do I require MFA only when it has been set up?

I'd like to require every user to use MFA with Google Authenticator. Each time I add a new user, I want to allow them to log in using their SSH key only once, and upon login require them to create a ...
0
votes
1answer
115 views

Can't SSH into webserver to access Git repository

I cleared registry files, uninstalled and reinstalled PuTTY, and checked my IP against a spambot database. I don't know what is going on behind the scenes, but in my troubleshooting I read that adding ...

1
2 3 4 5
7