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
-1 votes
1 answer
13 views

Generating keypair for backend issuing JWT token

I need to generate a keypair for my backend to issue JWT token. I am using MacOS. I tried on terminal: ssh-keygen -t rsa and path to /Users/john.brk/my_rsa. It generates my_rsa and my_rsa.pub. When ...
user avatar
  • 1
1 vote
0 answers
19 views

How to change default folder when SSH based on port?

I am deploying my own server. I am facing a problem when working with SSH. I have an user named vhcguest. Is it able to direct the default folder when this user ssh-ing my server based on the port? ...
user avatar
0 votes
0 answers
31 views

SSH key authentication fails with error "Failed publickey for phnxrc from [CLIENT IP] port 52036 ssh2"

NOTE: I've replaced all occurrences of the server's IP address with [SERVER IP] and all occurrences of the client's IP with [CLIENT IP]. I'm trying to get a key-based ssh connection between my Ubuntu ...
user avatar
  • 1
0 votes
0 answers
10 views

Which packages are used/required in buildroot for SSH?

I need to write a configuration file which should include all the packages that are required and used for SSH in buildroot.
user avatar
0 votes
0 answers
109 views

ssh from windows 10 to debian with no password

I tried to SSH without a password from a Windows 10 client to a Linux [Debian] server without using a password, following every step described here; however, I am still asked for the password every ...
user avatar
0 votes
0 answers
23 views

openSSH windows can't connect without password [duplicate]

I'm trying to connect to windows via ssh. My account on windows doesn't have password set, but when i'm trying to do ssh -p 22 username@localip it asks for password, and when i just press enter it ...
user avatar
0 votes
0 answers
101 views

How to fix "server shell request failed on channel 0" on Windows 11 OpenSSH default shell?

Every time I connect to my Windows 11 SSH server, It keeps getting an error saying "server shell request failed on channel 0". I ensured that the default shell is specified properly My ...
user avatar
0 votes
0 answers
33 views

SSH connects on local server through local network but doesn't connect while connecting through a different network

Please note, I tried finding about this issue a lot but wasn't able to, but still if I did miss out on some info on the internet then kindly respect the human error element, Thanks. Before starting ...
user avatar
0 votes
0 answers
24 views

Connecting to SSH server hangs

Short story, I'm trying to set up an ssh server on my desktop computer at home so that when I'm away I can connect to it using ssh from my laptop. I'm running into a bit of trouble with setting up the ...
user avatar
  • 1
0 votes
0 answers
29 views

ChrootDirectory is not consistent on Windows Server 2019 OpenSSH SFTP

I have a Windows Server 2019 setup with OpenSSH with the following settings: Match User sftpbackupuser ChrootDirectory "C:\DatabaseBackups" PermitTunnel no ...
user avatar
  • 251
0 votes
0 answers
28 views

How can we debug SSH logs apart from the verbose (-vvv) command?

SSH connection is getting closed by port 6655 when trying to SSH into the board using board's IP address using Putty. How can I debug the SSH logs and the process apart from the verbose command? ...
user avatar
0 votes
1 answer
82 views

How to "get" multiple directories from an SFTP server

I have an SFTP server with the following directories: dir1 test_results templates How can I get everything inside these directories as is to my local? I tried: get -r dir1 test_results templates But ...
user avatar
  • 103
0 votes
1 answer
23 views

How to query AD within SSH key-based authentication session?

I have a PoSh script on a Windows (2019) server that I want to kick off from a simple web app (a button) on a linux webserver, so I enabled OpenSSH and restricted it to just a generic, unprivileged ...
user avatar
0 votes
1 answer
84 views

Can't set up SSH key (PuTTY to Ubuntu Server)

I'm using PuTTY on Windows 11 to connect to Ubuntu Server 20.04.4. SSH connection with password works, but when I try to connect to it with a key I get the password prompt again. I turned logging on, ...
user avatar
1 vote
1 answer
36 views

Apparent SSH anomaly

I have four machines on which I'm installing Debian 11.2. On three of them, there was nothing I wanted to save, so I just did a clean install. On the fourth (10.0.0.96) I needed to save some stuff so ...
user avatar
1 vote
0 answers
69 views

SSH connection started asking for password all the time

I used to SSH-connect from my Windows 11 profile A to a Linode server I administer without any problem, and without having to insert a password. Now I've a second Windows profile B, so I created a new ...
user avatar
  • 11
0 votes
1 answer
148 views

What is libnss_dns.so and libnss_files.so library? What dependency do they have on openssh?

I am trying to ssh into my board ( Imx6 Humming board) through my PC using Putty.I get "unexpectedly closed network connection" immediately after login prompt in putty. Replacing these 2 ...
user avatar
0 votes
0 answers
48 views

OpenSSH Public Key to PPK file

I am trying to convert an openSSH public key .txt file into a .ppk file using puttygen. I keep getting an error. I'm confused on how to do this. Error I keep getting: The error is "Could not load ...
user avatar
1 vote
0 answers
70 views

Run ssh as a non-existent/virtual user

Is there a way to run ssh as a user that doesn't exist on the host initiating the ssh connection? Let's say I have a remote host with an account setup and sshd running. I can ssh into that machine ...
user avatar
0 votes
1 answer
18 views

SSH into Namecheap shared host

I'm trying to connect to my Namecheap shared host server via SSH I imported the pub/private key and authorized it like so: Let's VM IP = 11.11.11.11 When I SSH, I kept getting ➜ Desktop ssh webedcwp@...
user avatar
  • 396
1 vote
1 answer
55 views

Can't connect to Raspberry Pi via macOS laptop. Works via other devices

Can’t connect to Raspberry Pi via MacOS laptop. Works via other devices including Linux and iOS. This is the macOS terminal command and output: ssh -vvvvvv -p 9091 pi@192.168.1.103 OpenSSH_8.8p1, ...
user avatar
  • 11
0 votes
0 answers
68 views

How do you successfully setup SSH so you can connect to the same host from two different clients?

There are a lot of posts about this type of stuff but I haven't been able to find an answer that works for me... I have an SSH server setup on a Ubuntu machine at home. I was able to setup no password ...
user avatar
0 votes
1 answer
102 views

sshd issue parsing config in /etc/sshd_config.d/

On Ubuntu 20.04.3 LTS, I'm trying to restrict SSH access, only wanting users in the ssh group to access servers over SSH using their private keys, and I want one fallback user to be able to log in ...
user avatar
  • 71
0 votes
1 answer
699 views

windows ssh client: how to fix "no matching cipher found"

I am using the openssh client on windows 10. It usually works fine but there are some machines which won't allow me to connect. As a workaround I can connect to these machines by using another ssh ...
user avatar
  • 891
0 votes
0 answers
13 views

open ssh config change to accept all cipers on all sites

I am in need of some help with the open ssh config so that it will accept any cipher offered from any host. OpenSSH_8.8p1 decided to block any cipher which some day may be depreciated due to becoming ...
user avatar
  • 599
0 votes
1 answer
51 views

How to change OpenSSH password in Windows Server

I am very fresh with this and have never done this before. I received a Windows Server 2019 Everything was working fine till I get a complaint from one user saying they cannot upload files to this ...
user avatar
  • 174
0 votes
1 answer
161 views

Rocky Linux 8 SSH Sessions Timing Out

I am connecting via SSH from PuTTY running on Windows 10 to an OpenSSH server on Rocky Linux 8. I am using the Bash shell. These sessions close after a period of inactivity. I have not measured the ...
user avatar
  • 839
1 vote
0 answers
106 views

SSH into Windows WSL2 - Access Denied

I want to ssh into WSL2 running on Windows 11 using win32-openSSH 8.1. I tried to change the default shell of openSSH to bash.exe (or ubuntu.exe) using New-ItemProperty -Path "HKLM:\SOFTWARE\...
user avatar
  • 11
0 votes
0 answers
257 views

SSH Network is unreachable

I have 2 ubuntu systems , 1 lan cable. I need to transfer data(FILE OR DIRECTORY) using lan cable.( Note : there is no online network connection) I tried using ethernet and connected both ends in ...
user avatar
0 votes
2 answers
43 views

How secure is the openSSH login?

I am using several RPi's on my router, which have port forwarding for the port 22 out into the evil internet. When I connect to the RPi using openSSH (Powershell: ssh username@ip-adress -p 12345) it ...
user avatar
0 votes
1 answer
241 views

ssh-add does not prevent to enter the key's password when using OpenSSH on Windows

I have an RSA SSH key with a passphrase on Windows 11, with OpenSSH. I tried to add it to the agent: C:\code> ssh-add -k C:\Users\user\.ssh\id_rsa Enter passphrase for C:\Users\user\.ssh\id_rsa: ...
user avatar
  • 101
0 votes
0 answers
19 views

Ubuntu Server terminal occasionally repeats output over SSH

I am using OpenSSH to log into my Ubuntu Server 20.04.3 and when I first set it up it would repeat any output to the terminal twice, only over SSH, which was nearly impossible to use, so I disabled ...
user avatar
  • 55
0 votes
0 answers
246 views

couldn't load private key (putty key format to new)

received PPK file from our business partner our B2B system can only accept OpenSSH format when I try to convert PPK to Open SSH using PuttGen (we have windows), I get the following error "couldn'...
user avatar
0 votes
1 answer
79 views

Executing Remote Script With Remote Console Output

I can ssh to a RPi 4 from Windows 10 and start a remote Python script, but the output of the script appears on the Windows console. Tried using nohup to be able to close the Windows console without ...
user avatar
  • 13
-1 votes
1 answer
782 views

Permission denied when using SSH to connect to a remote server

I am new to ssh and have it installed in two Linux machines (Ubuntu 20.04.3 and Zorin OS 16). I tried to access from one machine to the other via ssh. The command I use is ssh username@ip-address, but ...
user avatar
0 votes
0 answers
452 views

Error authenticating a domain user for ssh connection

I'm trying to setup my Windows 10 machine to be an ssh server by using Win32-OpenSSH. The server is part of a domain, so I use the command ssh -i ~/.ssh/id_rsa -l user@domain ip_address to connect ...
user avatar
  • 203
2 votes
1 answer
276 views

Use SSH key signing with Git and ssh-agent under Windows

Situation I'm using Git 2.34 under Windows with GIT_SSH_COMMAND set to Windows OpenSSH implementation (it's also set on PATH). I want to use the new Git SSH key commit signing feature in combination ...
user avatar
0 votes
0 answers
40 views

Passwordless SSH connection still asks for a password [duplicate]

I wanted to set up a distributed environment for MPI, I followed this tutorial, I'm starting with 2 machines only: manager: @ip1, username:mpiuser worker: @ip2, username:mpiuser the manager is ...
user avatar
0 votes
0 answers
66 views

Configure msys2 mingw64 as a shell for OpenSSH on Windows

According to the docs, one can configure OpenSSH to use a custom shell. For example, this command will set Powershell as the shell: New-ItemProperty -Path "HKLM:\SOFTWARE\OpenSSH" -Name ...
user avatar
1 vote
0 answers
42 views

Trying to connect to AWS EC2 instance and getting session denied (publickey)?

I use Windows 10 and can do this successfully in PowerShell: ssh -i "bla.pem" ubuntu@blabla.eu-west-2.compute.amazonaws.com However, when I try to do this in VSC Remote Explorer I get: [17:...
user avatar
  • 155
0 votes
1 answer
26 views

ssh repeating text sometimes

My ssh connection is repeating text sometimes. Not what I input, but the normal text Like this: pi@myserver:~ $ pi@myserver:~ $ How can I fix this?
user avatar
0 votes
1 answer
33 views

OpenSSH Problems combining PAM and Password

I'm playing around with MFA out of personal interest and ran in to an issue I haven't been able to figure out. I recently set up PAM (using Google Authenticator) and would like to combine this with ...
user avatar
0 votes
0 answers
116 views

OpenSSH BUG - Can't SSH when running "sshd" as a "Service" - Can when "sshd" is run from the cmd line

I want to ask if you are familiar of some version of the OpenSSH server that can be installed in Windows which does not have active following issue: if "sshd.exe" OpenSSH server process is ...
user avatar
  • 101
1 vote
0 answers
173 views

Permission problems when accessing symlinks via sftp and scp on Windows Server 2019 with OpenSSH

I set up OpenSSH on a Windows Server 2019 machine and now I'm able to access the machine via ssh from my Windows 10 client. Then I created a folder on the Windows Server which contains several ...
user avatar
-1 votes
1 answer
35 views

hostname wont work on SSH in public network

my SSH client wont push request with my computer name(host name), it works only with my ipv4(IP Address) of my laptop when connected to campus network(public network), how can i fix this?(my ...
user avatar
  • 31
2 votes
1 answer
1k views

Can't install open ssh server in windows 10

I am unable to install open ssh server in windows 10 .I have use the GUI methord (add optional features)but it did not worked then i checked it is already installed or not using powershell C:\WINDOWS\...
user avatar
0 votes
1 answer
60 views

Windows GUI SSH client

How can I connect with SSH certificates and PKCS#11 token from GUI client? I need to provide SSH client with a signed SSH certificate file, PKCS#11 DLL and token PIN, but not SSH private key in file. ...
user avatar
  • 135
0 votes
0 answers
41 views

Suddenly ssh require the password

I try to login server without password as usual. Suddenly it requires password. I try to login another server which use the same id_rsa.pub/id_rsa It also requires the password. I am checking the log ...
user avatar
  • 447
0 votes
0 answers
405 views

"Can't find password for connection ID" using SSH key pair to access sFTP

I'm trying to access company's sFTP using ForkLift 3 on MacOS. I created an openSSH key pair using Terminal and the following command: $ ssh-keygen -t rsa Inside Terminal I opted to include a ...
user avatar
-1 votes
1 answer
97 views

How to disable ssh non-interactive commands from the server side?

Currently I have a server with openssh7.1 installed, which supports non-interactive commands like : ssh user@server ls. Is there a way to disable such type of command on the server side?
user avatar

1
2 3 4 5
21