Questions tagged [ssh]

Secure Shell; a network protocol that allows data transfer over a secure channel between two networked devices.

Filter by
Sorted by
Tagged with
4 votes
1 answer
121 views

sending print string command to remote machine

I'd like to print some string to all open terminals processes that are running in remote machine. currently I'm using ssh to connect the remote machine, and than I echo my string into wall command : ...
  • 143
0 votes
1 answer
15 views

How can I use a U2F hardware authenticator to unlock a SSH key in a computer I am SSH'd into?

I have a number of computers on which I've generated a ed25519-sk SSH key all using the same U2F hardware authenticator (yubikey 5C NFC). I'm now in a situation involving three computers: X, Y, and Z. ...
  • 111
0 votes
1 answer
32 views

How to make a no-gui virtual machine on a server?

I've got this Ubuntu server I'm running, and it's really handy to take the load off of my laptop, but I'd like to know how to set up a virtual machine on it that I can ssh into. Obviously, this ...
  • 21
0 votes
0 answers
9 views

Accessing a VM on DigitalOcean withpassword bypassing SSH verification

I have an ubuntu server on DigitalOcean, that uses SSH to connect. I created a user with a specific home directory, to share with a third party so that they can connect via SFTP and send us files. The ...
0 votes
1 answer
12 views

Use powershell ssh client with custom CA bundle

I need to use a windows 10 machine with powershell's ssh client to connect to a number of linux machines. Authentication is done with user and password, no public key being sent ATM. But I'm behind a ...
0 votes
1 answer
9 views

X11 error while forwarding disabled on SSH

I have set up an SSH server on one of my personal computers where I have disabled X11 forwarding. When starting new shell sessions while connected to this server, I keep getting the message xset: ...
0 votes
1 answer
30 views

How to change ssh/sftp password if SSH shell is disabled and passwd command is disabled too

WinSCP documentation says: If your SSH server allows changing your account password, go to Session > Change Password to request that. And indeed, WinSCP can change SSH/SFTP password on server we ...
  • 109
0 votes
0 answers
18 views

Bypassing bastion idle timeout : Session stopped

I'm forced to work through bastion to connect to the servers I work on. that's fine but the idle timeout is ridiculously small and it totally ignores the ssh keep alive of the client. I can't change ...
  • 11
-1 votes
1 answer
31 views

Suddenly, my ssh requires a password--debug1: send_pubkey_test: no mutual signature algorithm

Went to check something on my Ubuntu server: jlouthan@siege  ~/.ssh  ssh metroplex.theologic.us (theologic.us@metroplex.theologic.us) Password: That is odd because I have ssh keys. Troubleshooting, ...
0 votes
1 answer
23 views

What's a simple way to create a transparent proxy over SSH?

I have a remote computer that I connect to via SSH that I want to proxy certain domains through the connecting client's network. I figured setting up a simple proxy (like nginx) on the client and ...
0 votes
1 answer
16 views

How to use ssh-copy-id with vagrant? It keeps asking for .pub

I have been trying to use add ssh key to vagrant VMs through this command. ssh-copy-id -f -i .vagrant/machines/workers/virtualbox/private_key -o PasswordAuthentication=no vagrant@192.168.5.30 The ...
0 votes
0 answers
11 views

How can I send `xrandr` commands to a remote X11 session?

I have a remote Raspberry Pi connected to an old display. The Raspberry Pi is not configured correctly to display to this old display (it is basically sending the wrong resolution signal to the ...
1 vote
1 answer
18 views

ssh keys requests password while ssh on remote machine

I have ssh keys setup on my laptop and desktop, so I do not have any issues when I work on either the laptop or the desktop itself. However, when I ssh into the desktop computer and try to git pull or ...
  • 11
0 votes
0 answers
32 views

no supported authentication methods available (server sent publickey) Putty Windows

Good evening everyone , I created an instance on my OvhCloud host, I followed the whole process from key generation to configuration of the instance detailed on this link: https://docs.ovh.com/fr/...
0 votes
0 answers
11 views

How to "kick" an ubuntu over telnet box to prevent suspending

I have a Ubuntu box that I'm playing a game over telnet on my box. The problem is my box goes to sleep on while playing. I have to remember to walk in and move the mouse on occasion to keep it awake. ...
  • 347
0 votes
1 answer
22 views

Other ways to login and decrypt LUKS volumen when dropbear-initramfs is installed

I'm new to this site and after searching for a couple of hours already, I couldn't find a similar topic or figure out a solution, so I'm going to ask here. I have setup a new remote server with Ubuntu ...
1 vote
1 answer
25 views

SSH into computer which is connected to router via ethernet

I would like to SSH into my desktop which is connected via Ethernet to my router, from my laptop which is connected via WIFI. I've done this before with two machines connected to the network ...
  • 111
1 vote
0 answers
100 views

SSH tunneling for MySQL/MariaDB not working anymore on MacOS Ventura, works in Monterey

I've been using a simple SSH tunnel to connect to remote database server from my local Mac. This worked fine in Monterey, but stopped working on Ventura. I set up public keys, and I have verified that ...
0 votes
1 answer
9 views

Make a ssh tunnel for a remote folder and work on it

I am facing the problem that I have to work on some files which I can access only through ssh. Hence I have to work on them locally, then push them to the server with scp and test them there. I am ...
0 votes
0 answers
22 views

See executing script's filename path in htop - Ubuntu 18.04

I want to see the current processes that are running now. Let's say I run www.example.com/script.php Then I want in www.example.com/seescripts.php to see processes running: /path/to/process/script....
  • 1
0 votes
0 answers
18 views

SFTP disconnects if directory owner is not root

I'm on Debian 11, using openssh-server 8.4, trying to build an sftp server for HTML uploads. The upload destination directory is "/var/www/html" and the username is "sftp-user". ...
1 vote
1 answer
120 views

Since I updated to Ventura, I cannot SSH to my server (Ubuntu 20.04) from my macOS

Problem (🥳 Solved, read below) I cannot SSH specific servers like micro/small instances of AWS, DigitalOcean, and so on after upgrading to macOS Ventura & OpenSSH_9.0p1, LibreSSL 3.3.6 client_1 ...
  • 21
1 vote
1 answer
62 views

Windows SSH permissions for 'private-key' are too open

"It is required that your private key files are NOT accessible by others." My current user has only read rights for the key.pem file (downloaded directly from Amazon). Still this does not ...
0 votes
0 answers
12 views

How to install puttygen version >=0.75 in ubuntu 20.04

I have file .ppk version 3 but seem like putty version must be >=0.75 to handle this file .ppk version 3. The information I have found: https://www.chiark.greenend.org.uk/~sgtatham/putty/wishlist/...
1 vote
1 answer
311 views

Unable to browse private key in PuTTY

I am trying to connect to server using PuTTY through SSH. But unable to add a private key as there is no browse option showing. I tried reinstalling PuTTY but showing same.
-2 votes
0 answers
35 views

Cannot access Windows11 SSH server - Password always wrong

today I had the need to transfer files between two machines, one is an old machine where i had files to transfer to a new one machine that i wanted as server (old=client=sender , new=server=receiver). ...
0 votes
1 answer
14 views

Starting ssh-agent from a script for use in multiple scripts (invoked by git)

I have some homepages in a git repository each. They are built by Jekyll. When I change something, I use git's pre-push hook to let Jekyll build the page and sync it with my HTTP server via rsync. ...
0 votes
0 answers
30 views

Access denied on my remote server via ssh on windows

Hi everyone I'm trying to connect to my remote server using ssh -i "my_keyprivate.pem" instance@ipaddr but I get the error message Permission denied (publickey) And when I do ssh -vvv I get ...
0 votes
2 answers
18 views

Can an SSH remote resolve network requests through an SSH client connecting to it - allowing a client to share a VPN with the remote?

I have a remote machine running Linux that I SSH into and use for development purposes (compiling, language server, running, etc). My local computer is essentially a thin client. I use remote ...
0 votes
0 answers
206 views

What are the restrictions to ssh StrictHostKeyChecking=no?

When running ssh with StrictHostKeyChecking=no, it should always accept CHANGED keys. However it does not in my case. This is documented in the man page (ssh-config): StrictHostKeyChecking ...
  • 101
0 votes
0 answers
44 views

Permission denied to connect to my remote server via ssh on windows

with putty gen I generated a public and private key, and placed the private key on (C:\Users\toto\.ssh) but when I try to connect I have (permission denied) And here is the display on the terminal ...
0 votes
1 answer
31 views

Where do terminal font colors come from in an SSH session?

Using gnome-terminal I connect to my servers at work using SSH from Ubuntu 18.04 or 22.04. These work servers can be Sparc Solaris or Linux (Fedora). When I connect to the Solaris servers from my ...
  • 101
1 vote
1 answer
43 views

SSH proxy tunnel not accessing blocked sites on Windows 10 and 11 due to DNS leak?

I have a problem with an SSH proxy. On my Mac, I used the command ssh -D 8080 root@my.server.ip to login to my server, and I set the Mac SOCKS proxy settings to use 127.0.0.1:8080, and it was working ...
0 votes
1 answer
28 views

sshd can't disable password aunthentication

I just rented a VM from Hetzner, I created a new VM of Ubuntu 20.04.5 LTS and I put my ssh key upon its creation so I could log into the machine directly and it worked. However, when I was trying to ...
0 votes
1 answer
25 views

Login to SMB share using private key

I have a TrueNAS NAS smb share. My TrueNAS user settings have password disabled and I have added my SSH public key. I can SSH into the NAS using my private key with no issues. However, I am trying to ...
0 votes
1 answer
35 views

How to combine these commands to SSH into remote machine?

I have three machines, let's call them Work, Home and Laptop, all on different networks. My goal is to remotely SSH into Home from Laptop. This is how I do this currently: Connect all three machines ...
0 votes
1 answer
25 views

Why Do ssh and scp See Different File Systems

My ssh to a host "sees" one file system; my scp sees a different one. How can this be the case, and how can I fix it. e.g. $ ssh me@otherpc 'ls -l /tmp/media-files.txt' -rw-r--r-- 1 me me ...
0 votes
0 answers
117 views

SSH from macOS host key issue

When I SSH from macOS 13 (Ventura): sudo ssh -i /path/to/my_id_rsa abc123@xx.xx.xxx.xx I’m asked for a password when there is none on this key. When I use the same my_id_rsa file on Filezilla SFTP I ...
  • 283
0 votes
0 answers
27 views

Cannot access server on LAN remotely via VPN Tunnel (when server has VPN client turned on)

I have a self-hosted server which has an openVPN client connection always on. So the public IP of this server is not the same as all the other devices connected to the router. I want to also access ...
  • 101
0 votes
0 answers
11 views

SSH not working locally but is working externally after running nmap

I need to be able to SSH into a device on my network. Normally I am able to simply ssh into its local IP address. I recently ran an nmap scan on it, and now when I try to ssh into its local IP address,...
0 votes
1 answer
20 views

How to ssh into a remote machine by passing through multiple bridges machines, become another user and run a command as that user

I need to save in a variable on my local machine a value that is returned from a script or command - let's take bash /tmp/script1.sh for the example - which lies on a remote machine - let's say ...
  • 166
0 votes
0 answers
21 views

OpenSSH client: disable warning when X forwarding fails

For OpenSSH clients, X forwarding may be configured for all connection to any SSH server, as follows, in ~/.ssh/config: ForwardX11 yes Some servers are not configured for support of X forwarding, ...
0 votes
1 answer
27 views

Configuring IPv4 interaction on an IPv6-only server

I have an IPv6-only virtual server. I can connect to it via SSH or use ping6, but I can't work with IPv4. For example, get a file via wget (Network is unreachable). I have software that cannot be ...
0 votes
0 answers
15 views

`git push` behavior differs according to my "login directory" using VSCode Remote SSH

I'm using VSCode's Remote SSH utility to access a VM hosted on Google Cloud. My local machine is a Mac. There, I have a few GitHub repositories I'm working on. I had some issues yesterday and ended up ...
  • 317
0 votes
0 answers
9 views

How to create a shortcut for invoking Mosh from Google's Secure Shell extension?

This boils down to a question how to invoke a certain page of the extension from the command line. The SSH extension can be invoked by "C:\Program Files\Google\Chrome\Application\chrome_proxy.exe&...
  • 2,859
0 votes
1 answer
67 views

How do you avoid typing the passphrase (password) of your ssh key each time, on Linux and Windows with OpenSSH?

(This is a repost and edit of a question by xiiryo originally posted and closed fairly quickly on Stack Overflow.) I use a passphrase-protected ssh key (RSA). (I used to call this a password-protected ...
0 votes
0 answers
32 views

Windows can't find SSHFS

When mapping a network drive on Windows 10, after installing SSHFS-Win and WinFsp, I get the error message "Windows can't find ssfhs". Any idea why this is happening? Here is the steps that ...
  • 101
0 votes
2 answers
12 views

How to use OPENSSH private key to access server?

I received a private key in plain text format from someone. How do I save it to access server. It's in a format mentioned below. -----FOR SERVER! BEGIN OPENSSH PRIVATE KEY----- ...
1 vote
0 answers
9 views

Windows' SSH and Git's SSH act differently on same pubkey

I am trying to connect to soft-serve from Windows. When I do so with the default ssh, it works flawlessly. But, when I try to do that with Git, it doesn't want to work - and seems to send the wrong ...
0 votes
0 answers
31 views

Unable to resolve host while cloning on codeberg

I am using codeberg for repository management. on my windows PowerShell if I type git clone git@codeberg.org:codageaider/repotest.git I get the following error: ssh: could not resolve hostname ...
  • 1

1
2 3 4 5
202