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.

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

OpenSSH for Windows stopped working

I'm trying to connect with putty from a Windows 10 VM to a Windows Server 2008. Port 22 is open on the server. I keep getting this error in Windows Server: "OpenSSH for Windows stopped working", and ...
0
votes
1answer
69 views

Does WinSCP work with OpenSSH SSH certificates?

As per WinSCP documentation, WinScp uses the PuTTy key format, and requires that keys generated by OpenSSH be either converted or we use a /keygen command line switch. I wanted to use SSH ...
1
vote
1answer
59 views

How do I restrict users to sftp in OpenSSH on Windows Server?

I am working with OpenSSH downloaded from https://github.com/PowerShell/Win32-OpenSSH/releases. My goal here is to setup an ssh server that allows sftp files transfer without ssh access. According to ...
2
votes
1answer
71 views

Install SSH-Server on ubuntu 10.04

I need to use an old Ubuntu distribution (10.04) 32bit for compatibility reasons. I have to run it in hyper v, thus i need to get a SSH connection to the system up and running. I adjusted the /etc/...
0
votes
1answer
76 views

Windows: Terminal can't make use of PuTTY SSH keys

I have a problem when trying to use SSH through the terminal. I know that in Windows, you have to use PuTTY to ease this kind of connections, and it works fine when using it to connect remote servers ...
0
votes
1answer
9 views

How to properly work with mixed gerrit/github repositories?

I work with a git repo with lots of submodules. Some of them are on corporate github, others on Gerrit. Recently, I started having problems that plink didn't accept the server key anymore. So I ...
1
vote
1answer
34 views

SSH password prompt even after configuring ssh key

I am trying to set up a passwordless ssh login to a remote host. For that I generated a public key wich I copied to /home/user/.ssh/authorized_keys As mentioned in various posts I checked that ...
1
vote
1answer
23 views

Ssh permission denied for authorized keys - openssh version - OpenSSH_7.6p1,?

I have my ssh keys stored in /etc/ssh/www-user.authorized_keys. In my /etc/ssh/sshd_config, I have a line saying AuthorizedKeysFile /etc/ssh/%u.authorized_keys My /etc/ssh has the permission, ...
1
vote
1answer
38 views

Force OpenSSH server to spawn a new shell for simple command

I built a docker image from Ubuntu with OpenSSH server installed. Suppose I request a simple command over ssh ssh root@172.17.0.2 "sleep 10" Then, ps aux --forest inside the container gives me this: ...
0
votes
2answers
808 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....
-1
votes
0answers
27 views

Connection closes immediately after log in with SSH

I'm trying to solve a CTF challenge . I was asked to log in to server using ssh . So i typed the following command : ssh user@servername But the connection closed immediately after the log in . I ...
0
votes
0answers
11 views

SSH Tunneling from Point to point

I have these 3 SSH client/server A (Kali)-Have Public and private IP B (Ubuntu)-Have Public and private IP C (Ubuntu)-Have private IP B and C machines are in the same network. The question is how ...
1
vote
1answer
37 views

SSH .config file for Windows 10's SSH?

I'm on a Windows 10 machine, with an SSH client at C:\Windows\System32\OpenSSH (must be part of the OS these days). I'm used to Unix-land SSH, where there's a configuration file at $HOME/.ssh/config. ...
0
votes
1answer
116 views

SSH to gitlab server not working: ssh_dispatch_run_fatal: incorrect signature eror

I upgraded machine to latest Ubuntu 20.04 and the machine is now unable to connect using SSH to existing, unchanged gitlab server. The used keys and credentials are the same as before. Originaly I ...
0
votes
0answers
37 views

How to use rsub with Sublime Text with OpenSSH Windows 10

I am using Windows 10 openssh (built into cmd) with rsub (https://stackoverflow.com/questions/37458814/how-to-open-remote-files-in-sublime-text-3) installed on an Ubuntu (18.04 LTS) server and Sublime ...
1
vote
2answers
73 views

What is the priority between ssh key types on a ssh connection?

While developing a ssh tool that connects to a sever I have seen the following: In Windows(with plink), it uses the ssh-ed25519 server key type to make the handshake and confirm it's fingerprint. In ...
0
votes
1answer
19 views

how to disable asking for ssh passkey when pushing / pulling to git

I'm using Github's ssh protocol to push and pull to and from my repo and whenever I do this it shows the following message Enter passphrase for key '/home/username/.ssh/id_rsa': I want to have an ...
0
votes
0answers
13 views

How to SSH into Ubuntu on Windows from my Mac

I have Windows 10 with Ubuntu for Windows installed. I can SSH from Windows (using Putty), but how would I go about using SSH to connect to Ubuntu from my Mac?
1
vote
1answer
64 views

OpenSSH RSA publickey mysterious auth failure

I'm not new to configuring OpenSSH to require public key authentication, or generating keys and setting up access via authorized_keys, but this one has me stumped. I made a Linux Mint box for my in-...
0
votes
0answers
29 views

passwordless ssh from windows to linux

I have this ssh config Host srv.example.com srv HostName srv.example.com User theo PasswordAuthentication no ServerAliveInterval 240 ServerAliveCountMax 2 PreferredAuthentications ...
0
votes
1answer
37 views

Is it possible to configure an SSH client to use RSA/SHA1 signing?

I've upgraded my OpenSSH to 7.9, and now the hosts I usually connect to (configured at ~/.ssh/config, but including even Github operations) are complaining about this (but still connecting): agent ...
1
vote
1answer
123 views

Unable to use publickey authentication on Win32 Open SSH server

I have been using pubkey auth for SSH on Linux for years, and now I am trying to get it working on the Win32 port on a Windows 2016 server. So far unsuccessfully. I have read the help file for ...
0
votes
0answers
56 views

Windows 10 OpenSSH config file not being read properly

I am currently trying to set-up my SSH at home to connect to the servers at my work. I am using OpenSSH from the latest Windows 10. However, I am having problems with the fact that OpenSSH seems to ...
0
votes
1answer
43 views

How to SSH a remote switch with username and password?

I want to SSH to a remote switch and I only have an IP, Username, and Password. After installing SSH on my ubuntu machine, I tried to use: $SSH username@ip, but it keeps prompting without any ...
2
votes
2answers
358 views

Location of OpenSSH configuration file on Windows

How do I set the host name and port in a config file for Windows, using OpenSSH through PowerShell? As on Unix/Linux: Edit or create the file now by typing: nano ~/.ssh/config In here, ...
0
votes
2answers
111 views

SSH Permission denied (publickey) no matter what I do

Just when I thought I had a complete understanding of how SSH works and what not, its randomly stops working again out of the blue again. My permissions are perfect on both machines. One is a Debian ...
1
vote
1answer
29 views

How to do I check with ssh that my Windows 10 pc is ready for remote connection?

I wake my Windows 10 PC with wakeonlan and connect with a remote desktop service. However if I try to connect too soon after waking the PC the connection fails and I have to try again. Is there a ...
1
vote
1answer
46 views

Generating private+public keypair for SSH: difference between ssh-keygen and openssl?

I want to create private and public key pairs to be used for SSH authentication. I can't figure out the difference between this: openssl genrsa -out MyPrivateKey 4096 openssl rsa -in MyPrivateKey -...
0
votes
0answers
19 views

SCP fails on specific system

I'm trying to SCP some files (both ways) to my raspberrypi. However, on ONLY my Ubuntu 18.04 desktop, I am unable to SCP into it. Both ways, I can SSH into each other, both via password and ...
1
vote
0answers
26 views

Set hostname aliases for OpenSSH on windows

My google Fu seems to have failed me here. I know how to create host aliases on unix by adding them to ~/.ssh/config. However I can't seem to find an equivalent on windows. How do I create hostname ...
0
votes
0answers
52 views

Why does OPENSSH try to open C:\Windows\.ssh\authorized_keys instead of user directory?

Using OpenSSH for Windows, I'm trying to set up an SFTP using the public key. My error log shows this: 12080 2020-03-20 11:51:02.136 debug3: Failed to open file:C:/Windows/.ssh/authorized_keys ...
0
votes
0answers
6 views

OpenSSH - to host SFTP do I need to run ssh-add or can I just use authorized_keys file

What really happens when you run SSH-ADD and specify a private key file. https://www.ssh.com/ssh/add says that it adds it to an agent program. If I'm hosting an SFTP server, do I need to run this ...
0
votes
0answers
27 views

Using VS Code and Git Bash on Windows 10 with OpenSSH Agent

I've recently set up the Open SSH agent on my Windows machine, and created the keys using: ssh-keygen -t ecdsa -b 521 ssh-add I managed to set up my WSL to use this agent when SSHing from it (using ...
1
vote
0answers
51 views

How do I get an SSH jump host to use a specific outbound bind address?

I'm trying to SSH from my home device to end host via jump host using the ProxyJump option of OpenSSH. Jump host happens to have two IP addresses bound to its only interface: x.x.x.x and y.y.y.y. ...
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
1answer
44 views

Have I understood how OpenSSH and X509 works?

We want to test a connection with OpenSSH using X509 certificates using pkixssh fork from Roumen Petrov. I don't understand really how the full authentication works and specially how to create the ...
0
votes
0answers
14 views

Interactive applications with Windows 10 OpenSSHD Server

I've got OpenSSH Server running fine on Windows 10 (LTSC) and got the authorized keys working so I don't need to type a password. I want to be able to run interactive programs via SSH which pop up on ...
0
votes
0answers
70 views

OpenSSH 8.2 PubkeyAcceptedKeyTypes - bad key types for FIDO/U2F in sshd_config

Recently updated to OpenSSH 8.2 on both client (Ubuntu Desktop 18.04) and server (Ubuntu Server 18.04) in order to test the new FIDO/U2F token functionality. Currently running into an issue when ...
0
votes
1answer
44 views

How to connect to an SSH server running on a Windows 10 machine

I know that this question may have been answered somewhere, but I'm a total noob about this subject and couldn`t follow up on any tutorial. So any help would be appreciated :) Here's the thing: I can ...
2
votes
0answers
100 views

How to run Windows OpenSSH Server interactively?

As known OpenSSH Server on Windows 10 (sshd.exe) run as a service by default. But there are cases that require to run OpenSHH Server in an interactive Windows session, not in session 0 by default. For ...
0
votes
1answer
96 views

How to setup key authentication for unix to windows ssh?

I would like to setup a passwordless SSH connection from FreeBSD (not exactly unix system, but in this context it is unix enough) to Windows 10. To do this I added OpenSSH optional feature to Windows ...
0
votes
0answers
108 views

Capturing SSH_ORIGINAL_COMMAND in script for initiating SFTP session in OpenSSH for Windows

I'd like to execute a script on Windows OpenSSH server, and then allow the execution of whatever original command was issued (most likelySFTP). On Linux, it just involves using the ForceCommand ...
2
votes
0answers
29 views

How to enable “Local Line Editing” in openssh, like PuTTY?

I used to use PuTTY to connect to servers from Windows. I found the settings "Local Line Editing" and "Local Echo" very useful. It prevents PuTTY from sending every letter I type to the server, ...
0
votes
0answers
116 views

About: Logging into Windows 10 OpenSSH server with Administrator account and public key

I'm instructed to start a new question about: Logging into Windows 10 OpenSSH server with Administrator account and public key I've followed the suggestions here and I still get prompted for a ...
1
vote
0answers
35 views

Identify incomplete SFTP transfers

I'm writing a shell script which would use inotify to monitor certain directories for incoming SFTP uploads. When a client is done uploading a file, the file would be handed over to another script ...
0
votes
0answers
18 views

Git push on git bash leads to annoying 28 OpenSSH popups

Im using Windows 10 and im using Git Bash to work with several get repositories. All of the git repositories are hosted on the same GitLab server. All but one repositories is working fine. The one ...
0
votes
0answers
172 views

Permission settings on SSH authorized_keys for user group

I have several users who would like to access a SSH server viapublic - private key pair. I'd like to have a single private key distributed across all of them, and then have it matched with an ...
0
votes
1answer
32 views

Import private SSH key to new client machine

First of all this is not a question ultimately about copying a public SSH key to a server's authorized list (like many of the search results I looked through), I assure you. I have an SSH keypair ...
2
votes
1answer
30 views

why sshd have 2 processes per client?

I am setting up a VPS server, and I have an habit of running pstree -p on it. I just noticed that sshd seems to have only 1 server process initially, then adds 2 more for each client connection on ...
0
votes
1answer
74 views

Is it possible to specify SFTP options in “sftp://” URI?

Is it possible to specify any SFTP options inside an URI of the form sftp://...? I am particularly interested in being able to supply the -4 option to enforce IPv4 when using a Nautilus bookmark in ~/...

1
2 3 4 5
17