Questions tagged [ssh]
Secure Shell; a network protocol that allows data transfer over a secure channel between two networked devices.
10,535
questions
0
votes
0
answers
5
views
Unable to upgrade sercomm rv6699 using MobaXterm
I am trying to update software of sercomm rv6699 gpon terminal using tutorial from the web.
Tutorial says following:
Put software files (called mtd12, mtd1, mtd0) on USB flash drive, formatted as ...
0
votes
0
answers
11
views
ssh login delayed on Debian
When logging in to an up to date Debian 12 (bookworm) server via ssh (to IP address) the login is delayed by ~10 seconds after entering the password (and also when doing ssh login via key).
Here is ...
0
votes
0
answers
38
views
How to X11 forward after multi hopping in SSH?
I have the following SSH flow: root@HostA -> root@HostB -> root@HostC -> user@HostD
I want to do X11 forwarding for Firefox on HostD all the way back to HostA, since A, B and C don't have ...
-2
votes
1
answer
36
views
How do I SSH into this home router? Minimal web options, SSH connection reset by peer, telnet creates bad request
I'm looking to extract logs from my TP-Link Archer AX73 to do some basic network monitoring. I initially followed a guide involving an SNMP exporter but quickly discovered that there is no option to ...
0
votes
0
answers
43
views
There is better solution than simple port forwarding from my router to my internal system?
If I forward a port from my router to one of my internal system's ssh port, I start to get messages from the system of attempts with invalid password, invalid user, etc. I assume that someone is ...
1
vote
1
answer
68
views
Port Forwarding is not working
I want to be able to connect to my Raspberry Pi either via ssh or through connection like server-client from WAN which I think I need to do with port forwarding which is what I'm having problems with.
...
0
votes
0
answers
12
views
SSH X11 forwarding works only for WSL but not to a remote Host
I have a remote PC running Ubuntu 22.04. From another PC running Windows 11 I can connect via OpenSSH to the remote Host. However I am not able to use X11 forwarding (with the -X option) to launch a ...
-1
votes
1
answer
50
views
windows 11 ssh key generated in system32 instead of .ssh
My windows 11 openssh is generating SSH keys under system32 folder instead of .ssh even if .ssh folder exits under my user folder. What might be the problem and how can i change it?
PS C:\Windows\...
1
vote
0
answers
35
views
Using rsync to mirror the contents of a directory on a NAS
I have two network attached storages (NAS). I am trying to mirror a directory on nasA (IP ending .69) to nasB (IP ending .11) using a Windows Subsystem for Linux.
On my laptop I SSH to nasA and try ...
0
votes
0
answers
20
views
Netbird (Wireguard) SSH Connections Blocked Even Though Ping Works
I've begun using Netbird 0.24.3 as an easy way to implement a multi-site secure network via Wireguard. I have 7 peers and for the most part, it's been working great. Tonight, I was connected to a ...
1
vote
1
answer
80
views
Is it possible to install Linux OS on a computer with SSH with no monitor?
I have an old computer I want to use as a Minecraft server. It has no working display ports and has Windows 10 installed on it.
The computer is an HP Pavilion m9047c and I want to install Ubuntu ...
0
votes
1
answer
49
views
Cannot access the private network when connecting through a VPN to my Raspberry Pi
I can't access the router nor the Raspberry Pi through SSH when connected to it through a VPN, which is hosted in the Raspberry Pi.
The issue doesn't appear in my phone, so the issue is in Windows. I ...
1
vote
1
answer
32
views
X11 forwarding from a remote Linux server to a WSL2 desktop
I need to run GUIs from a Linux server (which I do not have sudo for) for work.
Being on a Windows 11 computer, I set up a WSL with Ubuntu-22.04, and succesfully followed these steps to display Linux ...
0
votes
0
answers
26
views
Automate a menu presented by a remote SSH jump server
I need to connect to a remote host through a jump server, but this server presents me with a menu like
Please make a selection (1 2 ... q)
1. SSH Remote Server
2. Open a local session
q. Exit
From ...
0
votes
1
answer
27
views
SSH not recognizing that my public RSA key is already in the authorized_keys folder?
Apologies if the question is really simple, however I have not been able to find a solution yet.
I am exploring the exploitation potential of Kali Linux on the popular Metasploitable vulnerable server....
0
votes
0
answers
4
views
Can't access my local host via Google Chrome on Android [migrated]
I have mini PC which serves as a small home server for various needs. Running Ubuntu 20.04.
When I replaced my old router with new one I'm having minor issues with connection:
when trying to connect ...
0
votes
0
answers
48
views
Persistent SSH Error 'port 22: No route to host'
I have been trying to resolve a problem on my Windows 11 laptop dealing with openSSH server with the error message 'port 22: No route to host'. Mind you I have done the download correctly, and have it ...
0
votes
0
answers
21
views
Is there a solution for remote development for IntelliJ Community Edition?
I am using a Coder cloud instance to host my source code, and would like to develop out of IntelliJ locally on my workstation. The problem is I'm using IntelliJ Community Edition and remote ...
-1
votes
0
answers
43
views
How to write a script in MobaXterm [closed]
I have never really done any coding before except for an introductory class to Python for school. I need to know how to write a script in MobaXterm that will essentially shell into another machine(s) ...
0
votes
0
answers
29
views
Private ssh key deleted itself after attempted migration
I'm migrating to a new laptop for work (Mac -> Mac, both on Sonoma). To migrate my ssh keys I made a tarball of my ~/.ssh directory and copied it over to the new machine.
I went to ssh to one of my ...
0
votes
0
answers
10
views
Xshell: Unable to login to virtual VM using ssh
I have a Virtual VM RHEL9. Also configured port forwarding to login to m/c using ssh.
When i am using cmd [in Win11] it works fine.
ssh using cmd
But the same fails when used in xshell
ssh using ...
0
votes
1
answer
44
views
How many environment variables can be passed through openssh SendEnv/AcceptEnv
I have added SendEnv whatever_* in ~/.ssh/config on the local host and AcceptEnv LANG LC_* whatever_* in /etc/ssh/sshd_config on the remote host.
Now, I'm trying to run some stuff on the remote ...
1
vote
0
answers
53
views
ssh, udp and split tunneling accross windows 10
I use "Bitvise SSH client" on my windows 10 machine to Connect to SSH server in windows Server. It doesnt tunnel all of my Pc so use Softether VPN Client Manager To Connect it via Socks ...
0
votes
0
answers
46
views
Can't SSH on a FRESH install of Ubuntu Server 23.10 on a Raspberry
After days of trial and error, Ubuntu Server 23.10 is FINALLY running on my Pi.
Already ran apt update and apt upgrade. However I can only control my Pi via direct keyboard and monitor. It's not ...
9
votes
1
answer
979
views
sudo password not working over ssh
I have a user on my local (virtual) machine with sudo privileges and when I login with this user I can run SUDO commands such as:
$ sudo ls
[sudo] password for <user>: ***PASSWORD ENTERTED***
&...
0
votes
1
answer
48
views
I'm unable to connect ssh using putty on my pc, but on other pc I can
Hello people of this community, I purchase a vpn and when tried to connect through ssh i got the error "connection timed out" every time I try to connect using putty. on a remote desktop I ...
0
votes
0
answers
18
views
SSH to server fails intermittently with correct password
I am using MobaXterm to connect to a CentOS server from a Windows machine. My username and password is saved by MobaXterm. Sometimes when I try opening an ssh session with the server it works and ...
1
vote
0
answers
37
views
SCP silently ignored on the remote machine
When I'm trying to copy a file using scp (in whatever direction), there's no error displayed (although the returned $? code is 1), all I can see is the message that normally the REMOTE machine prints ...
0
votes
0
answers
88
views
"Remote side unexpectedly closed network connection" when I use general hostname in MobaXterm
To connect to a remote Red Hat machine in a cluster, the SSH command needed is as follows,
ssh -X -i id_rsa -t username@JumpHost ssh -X username@FrontEndHost
since there is a jump host named JumpHost....
0
votes
0
answers
34
views
Home network SSH between two machines with two routers between them
Ok so in my home network I have two routers setup, one from my ISP and my own Linksys router. I am currently trying to setup a Pi connected to the ISP modem/router but since my workstation is ...
0
votes
0
answers
91
views
Iptables redirect outside requests to 127.0.0.1 (VirtualBox)
I have a virtual machine installed with the output:
ifconfig:
enp0s3: flags=4163<UP,BROADCAST,RUNNING,MULTICAST> mtu 1500
inet 10.0.2.15 netmask 255.255.255.0 broadcast 10.0.2.255
inet6 fe80::...
0
votes
2
answers
112
views
Permission denied when trying to SSH into CISCO virtual router
My main goal is to be able to simulate a device so I can SSH into it from a Python application and get the output of the commands. But first, I'm trying to manually SSH into the device from the ...
2
votes
1
answer
147
views
Router outputs "Bad IP address or host name" when trying to SSH from Linux terminal
I'm a total beginner in networking knowledge in general. Tried posting this in the Network Engineering Stack Exchange but they sent me here. My main goal is to be able to simulate a device so I can ...
0
votes
1
answer
22
views
VNC Connection to a remote host with reverse ssh tunnel
I have the following setup:
Raspberry Pi with no public IP address
Public "jumpserver"
Currently i have autossh running on the Raspberry to connect to the jumpserver.
Works without ...
0
votes
1
answer
37
views
Accessing samba shared files over internet
I am trying to access my samba share over internet. I can already access it via ssh and I have opened the 445 port but I cannot find the linux command line to access it.
Let's say I have the following:...
0
votes
0
answers
52
views
How to access a host ssh tunnel from within a docker container?
I'm creating a ssh tunnel, which I'm trying to access from within a docker container.
On the Client a ssh tunnel is created
ssh -R 0.0.0.0:8088:localhost:8088 [email protected] -N
On the host/server
...
1
vote
1
answer
148
views
SSH mysteriously blocked
My SSH server is at work behind the university firewall.
I connect to my university VPN and have always been able to SSH into it. Recently I used VSCode to remote work on it via SSH. The connection ...
0
votes
0
answers
20
views
Unable to login with ssh and .pem certificate to ubuntu server [duplicate]
I reainstalled windows 10 (I imported all ssh files from old windows installation) and I am not able to login to my ubuntu server anymore.
The command I use is this:
ssh.exe -vvv -i my-certificate.pem ...
0
votes
1
answer
63
views
How to convert PEM public key with -----BEGIN PUBLIC KEY----- into openssl key starting with ssh-rsa
How to convert PEM public RSA key in the format:
-----BEGIN PUBLIC KEY-----
...
-----END PUBLIC KEY-----
into openssl format:
ssh-rsa AAAAB3NzaC1yc2EAA...
Tried openssl rsa -inform PEM -in id_rsa -...
3
votes
1
answer
118
views
Trying to better understand SSH -n -N -f flags
I've been implementing some reverse SSH functions into a project I'm working on. In order to SSH directly to the remote device from my local laptop without first SSH'ing into the server (AWS instance ...
0
votes
2
answers
45
views
SSH config for remote servers using kerberos
I connect to my remote server using:
ssh -At [email protected] ssh -At [email protected]
The following only asks me for a password one time. I do not have any authentication file on my computer, ...
0
votes
1
answer
45
views
How can I setup 2 VPS can connect without using VPN which those VPS has already setup the ListenAddress to the VPN
I have 2 VPS,
and those 2 VPS are setup OpenVPN, and we only can access it by connect to VPN, then ssh it to VPN gateway itself. I set it up from sshd_config by adding ListenAddress.
here's the ...
0
votes
0
answers
14
views
windows-fido-bridge cmake error
I'm building the windows-fido-bridge here: https://github.com/mgbowen/windows-fido-bridge from source, but running into an error on line cmake -DCMAKE_BUILD_TYPE=Release ... The error reads:
-- ...
0
votes
0
answers
72
views
SSH failed to create session no buffer space available
When I try to connect to my machine trough SSH, after I enter my username and password, the screen then "hangs" and nothing happends
Luckily, I still have shell a open from yesterday on a ...
0
votes
0
answers
72
views
ssh using private key fails: server accepts key, still getting return packet type 51: access denied (public key)
People in my organization connects to their GitHub repo over ssh key. Recently, some people are getting :permission denied (public key)
The issue is not only with GitHub, they are not able to connect ...
1
vote
1
answer
31
views
Vagrant cant provision vm with debian/bookworm64 ssh authentification failed
I am trying to start up a VM with this box "debian/bookworm64" but it timeouts during the ssh authentification. I've used the same Vagrantfile with ubuntu/focal64 and there it just works. I ...
0
votes
1
answer
49
views
How do I copy text from vim on a remote host in Terminal, to local MacOS clipboard?
I've googled the heck out of this but nothing I try solves the problem. Help?
Context
I'm running vim on a remote linux machine, which I ssh to in Terminal.app.
I have root on the remote machine, so ...
0
votes
0
answers
40
views
Unable to SSH into localhost on MacOS Big Sur (11.7.3) --> kex_exchange_identification: Connection closed by remote host
I am new to learning about SSH configuration on a Mac.
Remote login has been enabled via System Preferences -> Sharing -> Remote Login: On
Allow full disk access for remote users: Yes
Allow ...
0
votes
1
answer
78
views
Using "restart-computer" Cmdlet for remote computers using SSH
I want to reboot several computers remotely using PowerShell and wait until the reboot is completed, before continuing the script. I've stumbled across the "restart-computer" cmdlet and its &...
0
votes
0
answers
63
views
How to add SSH key to Gitlab-ce in Docker
I am running Gitlab-ce V16.5.1 in a docker container. I need to add a proper SSH key to my profile in order to use HTTPS/SSH and to enable my pipelines to complete without generating HTTP Basic Access ...