Stack Exchange Network

Stack Exchange network consists of 174 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

Questions tagged [openssh]

OpenSSH is one of the most popular implementations of SSH used today and available by default in many Linux and Unix-like operating systems.

2
votes
1answer
16 views

Is it possible to update the built-in OpenSSH Client in Windows 10?

I'm experiencing certain issues with the built-in OpenSSH client that, according to the Win32-OpenSSH Github page, seem resolved in newer versions. The newest version is v7.9 while the preinstalled ...
0
votes
1answer
20 views

What are the tasks of ssh and sshd respectively?

I know that sshd is the SSH daemon and also acts as SSH server. I am more interested in the details. From the man page of ssh, https://linux.die.net/man/1/ssh There are some high level explanations, ...
0
votes
0answers
13 views

{Key or TOTP} and password

I'm setting up multi-factor authentication on a Linux box. I have successfully been able to tell the box to accept key-and-password or TOTP-and-password, but I'd like it to allow clients to do either. ...
1
vote
0answers
36 views

What determines what algorithms are available to OpenSSH?

Is the version of OpenSSH or the version of OpenSSL (or a combination of the two) that is installed on a given system what determines which Ciphers, KexAlgorithms, and MACs are available to be ...
0
votes
0answers
14 views

SSHD Service on Windows Server 2012 R2 not showing

I tried to install open-ssh on the windows server to test a script for sftp. I followed this guide. After setting up the path and switching to the folder I ran from a admin power shell: .\install-sshd....
1
vote
1answer
30 views

Disabled OpenSSH sftp-server but FileZilla still can access remote file system

I have disabled sftp-server on my Ubuntu computer, as below. Edit /etc/ssh/sshd_config and comment out this line #Subsystem sftp /usr/lib/openssh/sftp-server On another computer, I run sftp command ...
0
votes
0answers
11 views

Can't access my server from external

I just setted up a ubuntu 18.04 lts server and installed openssh-server and openssh-client so now I can access it from my local network, but when I try to connect from elsewhere(like at my friend ...
1
vote
1answer
65 views

How to remotely verify ssh host key from CLI

So given the following assumptions: 1) I wish to ssh to a remote host for the first time 2) ssh-keyscan shows this: pwaugh$ ssh-keyscan -t ecdsa pi # pi:22 SSH-...
0
votes
0answers
15 views

Difference Between Windows Native OpenSSH and openssh-portable(Win32-OpenSSH)

I setup two SSH servers on two Window 10 machine. One uses the native OpenSSH server of Windows 10, and the other uses the openssh 7.7.2.1 installed via Chocolatey. The configurations of the sshd are ...
0
votes
1answer
35 views

limit sftp access to specific folders when using a public/private key with openssh

Is it possible to limit what folders a user can sftp to when using public/private keys? Say I have a server with user1 and their home folder is /home/user1. I already have it configured so user1 can ...
-2
votes
0answers
18 views

configure SSH over Internet [duplicate]

I have one Linux running machine in my network(say under 192.168.0.0 network) now i use SSH via other laptop in same network.It is working perfectly. Now when I try to run from internet i saw that ...
0
votes
0answers
12 views

configure openssh server to automatically take backups when files are modified through scp or sftp

I've got openssh-server running on my Linux (Debian) server. This allows me to scp or sftp files to/from it, including overwriting files that are already there. I am wondering if there is a way to ...
0
votes
0answers
15 views

Openssh 7_9: key exchange failed, expected SSH_MSG_KEX_GEX_GROUP

I'm trying to connect from SmartCVS via ssh to a Fedora 29 system but connection fails with an error message "key exchange failed, expected SSH_MSG_KEX_GEX_GROUP". Since SmartCVS is somewhat ...
0
votes
1answer
28 views

How to setup .ssh/config for git on non-standard port

I know something similar has been asked multiple times, but I wasn't able to find the right solution for my case. I have a custom git repository accessible via ssh on a non-standard port; URL is ...
1
vote
1answer
88 views

ssh authentication failure with public/private keys

I'm setting up a Continuous Deployment pipeline on gitlab. Unfortunately, when trying to ssh from the pipeline to the target server, the authentication fails. I am asking the question here because I ...
0
votes
1answer
64 views

Turn off Win10 display(s) via OpenSSH

There are a lot of solutions to turn off display locally on a Windows10 machine. They all are some form of the following SendMessage line. There's also little executables like nircmd that do this. ...
0
votes
0answers
22 views

How to retrieve rejected public key in Open SSH server?

I need to selectively add some rejected public keys into my authorized_keys file. How can I obtain the rejected public keys? tail -f /var/log/auth.log | grep sshd doesn't seem to display the public ...
0
votes
0answers
35 views

How can I send keyboard input thorugh SSH to a windows machine?

So, I have two computers at home, both with Windows , and I'm trying to learn how to send inputs from one to another. When I used linux, it was as simple as using xdotool over SSH. But in windows I ...
0
votes
1answer
22 views

Get SSH authentication data after key authentication

Is it possible, from the server side to retrieve data used in the key authentication after this is completed? For example, from a pam module, to get the public key used, the challenge used (if it was ...
1
vote
2answers
150 views

Can ssh via tunnel from root, can't from user account

I have two users on desktop - root and user. I have a bastion and a protected host. When run ssh protected as root on desktop, I connect fine. When I run ssh protected as user on desktop, I get no ...
2
votes
1answer
123 views

Install OpenSSH SFTP client to Windows 7

I's there a way to install OpenSSH SFTP client to Windows 7? I cant seem to find a way anywyere. Everywhere it's all PuTTY based clients. Does it exist?
1
vote
1answer
130 views

Getting “System error 1067” when installing OpenSSH on Windows 7 machine

I try to install this OpenSSH package on windows 7. I have followed these instruction and all passed succesfully. I have looked into this answer but it is not clear what exactly was done to solve the ...
2
votes
1answer
115 views

How to add/remove drives to Windows OpenSSH SFTP server?

I've setup the built-in OpenSSH in Windows 10 and connected remotely via WinSCP SFTP protocol. I seem to have access to all folders in my C: drive, but I cannot access the external drives of my ...
1
vote
0answers
63 views

how best to locate openssh credentials for powershell script run by SYSTEM

I've got a powershell script in the form $commands = @" echo "1 + 2" | bc "@ $commands | ssh user@1.2.3.4 Right now what I'm doing is setting up ssh keys once ahead of time, but the problem is ...
0
votes
2answers
35 views

Ubuntu sftp chroot jail path not being read?

I've encountered a problem, that I've been messing around since hours now, not understand what is happening. I have read tons of guides on this, which should be a 2 minute setup task on Ubuntu, and I ...
3
votes
1answer
93 views

When is asymmetric and symmetric encryption used in SSH?

I was reading the following document: https://www.digitalocean.com/community/tutorials/understanding-the-ssh-encryption-and-connection-process In the asymmetric encryption it looks like the shared ...
0
votes
1answer
71 views

Connecting on SSH server takes too long

So I created an OpenSSH server on a win-7 machine, I can now successfully login on it, but only on that machine too. What I meant is, I can only login on the server when my client is on the same PC as ...
-1
votes
1answer
395 views

How to install OpenSSH on Windows 7?

So I've been trying to install an ssh server on my local machine back home for ages, I tried to ask here yesterday and so far I haven't got any results. I'm a programmer, I have a PC (the server) in ...
0
votes
2answers
37 views

Where do I get the SSH password?

I installed OpenSSH server on a windows 7 pc, then I tried to use the client using ssh localhost command and it gives me the cmd just fine. Now on my android I tried to log-in to that server using ...
0
votes
2answers
39 views

“Failed password” and “Invalid user” - Secure Shell Server

I installed ssh-server on Ubuntu 18.04.01. When I try to access the server with PuTTY the error "access denied" is shown. The server log says "failed password" and "invalid user". I also changed "...
1
vote
1answer
50 views

SSH agent forwarding mixed with su user -

If I ssh to my server as such: ssh root@<ip> -A Then I do this remotely: ssh git@github.com # Hi username! You've successfully authenticated Then this remotely: su user - Then this ...
0
votes
0answers
88 views

SSH can not keyboard-interactive

Recently I am trying to play with the PAM modules, but I got myself in a pickle where I do not know how to use/enable keyboard-interactive on my sshd. lucian@local:~$ ssh luciannitescu@45.77.137.163 ...
2
votes
0answers
29 views

Can I disable Apples ssh server entirely, and install openssh-server?

After recent changes in high sierra to the way /etc/ssh/sshd_config I'd like to investigate ditching the macOS Sharing ssh, and put my own one in. Similar to doing apt-get install openssh-server on ...
0
votes
0answers
141 views

SSH connection to port 22 is refused/timed out. Can't install key to server

I have been having issues with connecting to my ssh server. After installing ssh and other server packages I have been trying to connect as a root user. Each time it says the connection timed out. I ...
0
votes
0answers
119 views

SSH Server refused public-key signature despite accepting key

I did the following on a Windows Server 2008 R2: Installed OpenSSH 0.0.24.0 by executing this command -> powershell.exe -ExecutionPolicy Bypass -File install-sshd.ps1 and generated the keys with ...
1
vote
0answers
244 views

How to compile and install openssh from source on Ubuntu 18.04? [closed]

Other than the openssh which I installed through the system package manager, I want to compile and install another openssh from source. I downloaded the most recent portable version of openssh(7.8p1). ...
1
vote
3answers
90 views

How can I switch the SSH that Windows 10 is using on the CLI?

I'm having some problems with another version of SSH that I have installed on a windows machine.. I don't know how it got installed... but it is there: C:\Windows\System32\OpenSSH I have another ...
1
vote
1answer
186 views

Pass local environment variables to Python script on Windows server using SSH

I am trying to execute a Python script on Windows server 2016. I have Win32-OpenSSH installed on Windows server. The python script expects two environment variables (BITBUCKET_REPO_SLUG and ...
0
votes
1answer
545 views

Permission denied (publickey,password,keyboard-interactive) error

I am trying to scp from Bitbucket pipeline wto Windows Server 2016. The Windows server has Win32-OpenSSH installed. Command output: + scp -v sample.conf john.doe@xx.yyy.zzz.xyz:/C:/Users/john.doe ...
0
votes
2answers
39 views

Tunnel secure TCP server

Which software can be used to protect (by password/certificate) access to tcp server (e.g. webserver)? background: the tcp server software has no authentication and cannot be modified. the service ...
0
votes
1answer
257 views

ssh permission denied (publickey,keyboard-interactive)

Why I insist on asking a question I've done a quick search on this problem and done a few solutions that have been said. None worked. What I did Termux as host. Installed apt install openssh, ...
0
votes
0answers
28 views

Running `ssh -i` without login

I would like to run sshd -i from a shell (via qrexec, if it matters), such that it will not ask for authentication. Security is not an issue here (nor is encryption required) because I am using SSH ...
2
votes
1answer
216 views

Spring Update Windows 10 ssh client reverse tunelling not working

I'm trying to use the ssh client command available in windows 10 since the spring update. I do not use the "OpenSSH Server" optional module and it is not installed, I'm using only the "OpenSSH client"...
0
votes
0answers
488 views

Putty closes by immediately after authentication, Cygwin-SSH on the server

I have installed OpenSSH with CYGWIN on Windows Server 2012 R2 server on Amazon EC - I wanted to create my SSH instead of creating instances in the admin dashboard. My SFTP connection with the ...
1
vote
1answer
41 views

Some SSH user authentications fail amid a large flurry of such authentications

I am working with a cluster of 20 hosts, all running CentOS 7.3. I am attempting to create an automated test to check that: Our expected network connectivity is in place Our SSH Single Sign On (SSO) ...
0
votes
0answers
158 views

SSH & Windows 10: Connection Works With Powershell and Git Bash But Not With Other Tools

I have generated a pair of keys and have added the public key to my server. When I want to connect to my server I use the command: ssh [username]@[server]. This works fine when I'm using ...
1
vote
1answer
80 views

How to use ssh on cpanel server? [closed]

I want to entry to my cpanel server, but I can't do it. This is what I did. I am going to the login page of my server on cpanel and I got in. Then: Security -> SSH Access -> Manage SSH Key -> ...
2
votes
1answer
121 views

Unclear about SSH (agent) Forwarding - Do I need to copy the public key into authorized_keys on every potential target?

I am trying to implement/test SSH Forwarding, but the only way, so far, that I can make it work is if I manually copy the public key (ssh-rsa xxxx) to each of the machines I want to SSH to. Suppose I ...
0
votes
3answers
3k views

Windows 10 v1803: where is OpenSSH Client?

At one time I installed OpenSSH Client as an Optional Feature when running Fall Creators Update (version 1709). I've since updated Windows to version 1803 and I no longer have OpenSSH Client ...
0
votes
1answer
104 views

Losing Kerberos Ticket after SSH to Current Host and Exit

I am running on CentOS 7.3. How may I prevent losing my Kerberos TGT in the scenario below? I understand the security implications of not destroying Kerberos tickets upon logout, and I will be ...