Questions tagged [ssh]

Secure Shell (SSH) is a protocol primarily for encrypted shell connections. This tag is also used for questions about sshd and openssh, the two standard applications for using SSH.

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

Subversion client can't connect via SSH

I've just migrated to a new MacBook. My Subversion client Cornerstone 3 can't connect to any repo's. I've tried their new version 4 and the same problem occurs, I have re-installed and again the same ...
0
votes
0answers
14 views

Why is sudo very slow (more than 30minutes) to display initial password prompt for a domain account?

I am hoping someone can help me figure out why 'sudo' takes longer than 30mins (on average) to display the initial password prompt when using a domain account. This problem occurs even after a reboot, ...
0
votes
0answers
21 views

Why is this SSH handshake failing?

The server logs this 2021-12-07 21:57:29.889029102 Server listening on 0.0.0.0 port 2222. 2021-12-07 21:57:29.889033114 Server listening on :: port 2222. 2021-12-07 21:57:30.635958078 Connection ...
0
votes
1answer
22 views

Hard code an IP in Putty

I need to be able to provide the putty app via Citrix. The issue is the terminal server is on the prod network which can reach all of our other networks. This would therefore allow a user to putty to ...
0
votes
0answers
25 views

Keep SSH connected until command output completes

I am trying to setup a Nagios rule that runs an SSH command and outputs the contents to a file. The issue I believe I am running into is that SSH runs the command and closes the connection before the ...
0
votes
0answers
20 views

Why does ssh on mac cause a socket error?

I am trying to connect to a server - lets call it destination_server on port 22. I only can access the destination_server via a ssh-tunnel. The ssh-tunnel should use another server - proxy_server on ...
0
votes
0answers
23 views

ACL settings works when using ssh but not with scp command

I have setup an Arch Linux machine with a user 'archie' with a primary group 'users' as: useradd -m -g users archie Whenever archie creates a file in his ~/shared directory I want the group users to ...
-1
votes
1answer
44 views

Allow an IP to use my own SSH alias?

How do I allow an IP to use my own SSH alias defined in my client (desktop) SSH config, to connect to my server? I created a wheel user and disabled root login, and I have also set up a custom port ...
0
votes
0answers
27 views

Linux Root-Server (Debian 11 Bullseye) not pingable, ssh disconnects

I'm quite new here and this is my first post - so hello and welcome. Problem: Disconnections from my Home-Network to Root-Server (Not reachable: ping, ssh, etc.) Hosts Information: German Provider OS:...
0
votes
0answers
17 views

Running Vagrant VM on Ubuntu 20.04 VM on VirtualBox on Windows 11 Host Machine, Need SSH access to vagrant from windows 11

I am doing a computer vision project, and I have Vagrant VM on Ubuntu 20.04 VM on VirtualBox on Windows 11 Host Machine. I'd like to use the Windows 11 host machine for the CV since it needs a lot of ...
-1
votes
0answers
23 views

Can't SSH into Raspberry Pi Ubuntu 20.04 [closed]

I'm trying to follow this tutorial on setting up a headless Raspberry Pi 3B v1.2 With Ubuntu 20.04: https://roboticsbackend.com/install-ubuntu-on-raspberry-pi-without-monitor/#ssh_setup The Raspberry ...
0
votes
2answers
24 views

Running mysqldump via SSH on separate mysql server

I've got an hosting environment consisting of two separate servers: web-server and db server. The web-server is accessible via SSH only (and of course port 80). The DB server is inaccessible from the ...
1
vote
0answers
41 views

ssh host-based authentication on Fedora 35

I am trying to bypass password ask and use host based authentification. Client is in shosts.equiv, client public key in ssh_known_hosts and yet it forces to ask me password Does it have to do with ...
0
votes
0answers
26 views

User directory does not exist when logging in via ssh to a Synology NAS

On a Synology NAS with DSM 7.0 I have created through the Graphical UI a dedicated admin user (as recommended in Synology's setup procedure), then I have enabled ssh login and now I can ssh into the ...
0
votes
0answers
25 views

Fedora CentOS Cockpit ssh key passphrase won't work

I have a problem with cockpit on two servers running CentOS and Fedora. I can login with my public ssh key with passphrase via ssh commandline. But I can't get that to work with cockpit. When I put my ...
-1
votes
0answers
27 views

User can't connect with sftp

I've got a user trying to connect via sftp from a Mac to our Ubuntu data server. I've just created his account, and have done so multiple times using an automated process with no issues, so I suspect ...
0
votes
1answer
63 views

Let an unattended script connect from windows to an applaince with ssh password

I'm creating a script that will run unnatended on Windows. The script needs to execute commands via SSH on an appliance. The appliance does not support public/private key authentication only password ...
0
votes
1answer
46 views

Pass password in ssh config

Is there any way to pass a password using .ssh/config? I'm trying to set up a way to login to a server under a specific user and then switch automatically to root when I connect (need to input ...
-1
votes
0answers
9 views

I am using tigervnc server installed on server side on ubuntu and controlling remotely on windows 10 via vnc viewer

But suddenly black screen comes, i was using it since 2 months. Is there any way I can fix it up. I just want to remove the black screen and access the desktop of ubuntu like earlier. I am able to ssh ...
0
votes
1answer
49 views

Prevent user from seeing list of other user's home dir

I want to prevent a user from seeing a list of home directory(of other users). By default, a user can not access other user's home dir but can find another user's home dir like below: [opc@instance-...
-2
votes
0answers
15 views

how use ssh with MultiMonitortool [migrated]

Hi guy I want change my pc resolution form my phone. my ssh command on my phone not working. C:\MultiMonitor\MultiMonitorTool.exe /LoadConfig C:\MultiMonitor\gaming.cfg but this command is working ...
0
votes
0answers
16 views

Concurrent ssh connections on control server keep dropping

I'm facing an issue with setup I am using for ocassionally doing maintenance on a bunch of customer servers via remote SSH Following Setup: 1 Control Server X Arbitrary number of Customer servers set ...
1
vote
0answers
34 views

Use local ssh_config settings on a remote server

Good day, friends! I've got a locally configured ~/ssh/config file with all the hosts set up as they should. I am using them successfully when doing my ssh from the local computer like ssh dev. But ...
0
votes
0answers
44 views

Cannot Remote-SSH on VS-Code from a WSL2 Remote Folder

I have installed VSCode (v1.62.3) using Windows (v10.0.19043), and have installed WSL2 (ubuntu 20.04) distribution. I reopen a folder in WSL and with WSL2 terminal i have setup my ssh keys (/home/user/...
0
votes
1answer
28 views

How can I do this port-forward?

Hello I try to do a port forward in this network As you can see I have the localhost when I want to execute a curl to localhost:9203, in order to get access to 10.0.0.1:9200. 10.0.0.1:9200 is a ...
0
votes
1answer
15 views

EC2 disabling SSH password authentication from snapshot

I maintain a CentOS 7 server in AWS EC2 which uses password authentication instead of private keys (this is beyond my control). I recently started testing a daily backup system using snapshots of the ...
0
votes
1answer
20 views

AWS EC2 instance randomly refuses connections. Given the context below what could be causing this?

Context: The instance sits behind an Application Load Balancer. The main and only route table for the VPC routes locally as well as to the Internet Gateway The security group for the instance and Load ...
0
votes
0answers
23 views

Host key changing during reboot

I have four Azure VM machines running Ubuntu 20.04.3 that I regularly shut down. Yesterday I shut them down, and early today I restarted them. Usually this presents no problems. Today, one of the ...
0
votes
0answers
21 views

CentOS 7 PAM / LDAP SSH/LOGIN user does not start in his home directory

On a CentOS 7 machine, users can use their LDAP credentials to connect to my servers. The first time they do this, the pam_mkhomedir is doing its job well. The user's folder /home/jdoe is well created ...
0
votes
0answers
17 views

Authentication with pub/priv key pair fails for chrooted users

I'm trying to isolate certain users from other users, which requires the use of either virtualization or jailing. At the moment I've gone with jailing, which mostly works fine, except for a single ...
0
votes
1answer
80 views

Google Cloud Virtual Machine SSH Terminal Could not connect

I have a machine installed in Google Cloud VM, I was making the SSH connection here without any problems, but when I wanted to log out and connect again, I started to get no results here. I stay on ...
0
votes
0answers
19 views

How to lock an user account on failure of ssh PubKey based authentication on centos

I am looking to lockout a user account for certain time on 3 consecutive failures of ssh PubKey based authentication. I have tried PAM approach, but that is actually working with password based ...
0
votes
1answer
71 views

rsync over multiplexed SSH connection and multiple jumphosts

I need to rsync a file from remote hosts to my local machine over multiple jumphosts. I'd like to use shared SSH connections so that I don't have to submit 2FA multiple times at some jumphosts. The ...
1
vote
0answers
30 views

Vagrant ssh config fault

Good afternoon. There was a need to configure SSH access from an external network to a virtual machine in Vagrant (VirtualBox, CentOS/7). I made a mistake somewhere and lost the ability to connect to ...
0
votes
1answer
47 views

SSH from Windows 10 to Manjaro Linux using its hostname [closed]

I am using PuTTY to connect to a Lunix machine on local network via ssh and it works fine if I specify the IP address. However I cannot do it using the machine's host name. It seems that Windows ...
0
votes
0answers
29 views

RHEL 8 Ansible playbooks not working with FIPS enabled

I have two sets of Linux VMs in a GCP (Google cloud) environment: Debian9 and RHEL8. The RHEL8 environment is FIPS-140 enabled, due to security/compliance requirements. None of our Ansible playbooks ...
0
votes
1answer
20 views

Can't `ssh` and the `docker exec` in a single command

I want to ssh into a remote server that runs a docker engine and then docker exec a bash in my-nice-container, in interactive mode. I want to do all in one shot. I'm doing this from my local computer: ...
0
votes
0answers
41 views

How to disable inbound only SSH connections via Group Policy?

I need to disable SSH inbound only connections on some machines running Windows 10. As of now, I've only found out how to disable SSH altogether but these machines still need to be able to SSH into ...
0
votes
0answers
27 views

Cannot SSH into AWS E3 AMI (Ubuntu 18.04) after ubuntu-desktop installed

I am trying to build a standard desktop AMI image on AWS that I can launch on a new EC2 instance when I need it. The issue I am experiencing is that when I make an AMI from a perfectly working ...
0
votes
1answer
32 views

Connect remote machines via SSH to command prompt

I created an SSH connection between my machines, and then i set on one of them a PowerShell command telling windows to provide the PowerShell console when a distant machine connects to the current via ...
1
vote
1answer
75 views

Is it possible to pipe qemu-img into SSH target?

I tried the following command, but only an empty file is created on the target and the command stays open qemu-img convert -f raw -O vmdk /dev/sda1 - | ssh foo@bar "cat > /home/foo/foobar.vmdk&...
0
votes
1answer
36 views

SSH connection works for root but not user; fails after "Trying private key"

I'm setting up password-free ssh connection to a debian remote server. I've generated a key on my local machine and placed the key in both /root/.ssh/authorized_keys and /home/user/.ssh/...
0
votes
0answers
23 views

NFS "an incorrect mount option was specified " ionos unable to mount shared storage

the issue is we followed the instructions here but get mount.nfs: an incorrect mount option was specified whenever we do mount -a
1
vote
1answer
204 views

How do I disable sshd algorithms?

From my vulnerability scanning software I get this flag/message The following weak key exchange algorithms are enabled : diffie-hellman-group-exchange-sha1 diffie-hellman-group1-sha1 I want to ...
0
votes
2answers
31 views

How to clear local ssh port for forwarding to remote?

I'm using ssh forwarding local port to a bastion server(10.20.30.40), connect to remote RDS database. ssh -i ~/.ssh/id_rsa -f -N -L 5432:db1.cluster-1.region.rds.amazonaws.com:5432 10.20.30.40 -v ... ...
0
votes
1answer
25 views

ssh TOTP connection with jump host forwarding

How can I simplify this? Perhaps using agent forwarding? I have an SSH jump host with 2FA via TOTP x2 and a machine which uses 2FA as well(jump host and machine): ssh myuser@host.corp.com -L 22222:...
1
vote
1answer
38 views

SSH using public key losing Authentication on windows server

I want to SSH from my laptop (A) to Windows Server (B) and run commands against SQL Server (C) from powershell. All three in one windows domain. I'm running built-in openssh server and client for ...
1
vote
1answer
34 views

X11 forwarding through a jump box

I have a machine that is configured to auto connect to a jump/bastion box when there is an internet connection. I configured its ssh config file as follows: Host tunnel HostName <jump ...
1
vote
1answer
31 views

run multiple commands in oneline (like in linux **date && ls**) in **HP iLO3 ssh console

i want to run multiple commands in oneline (like in linux date && ls) in HP iLO3 ssh console, but it (&&) not works. How i can do it? I not found it in documentation i want run 2 ...
1
vote
0answers
25 views

Unable to log in with AD credentials

I have a DC (Debian) that seems to be working fine. I am able to join the domain but when I join a Fedora member it joins but the DNS isn't registered. I have to manually add the record to the dc. ...

1
2 3 4 5
168