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

"Operation timed out" when ssh to my MAC after the server is up for sometime

I am running macOS Big Sur and I started the remote login. Immediately after the service is up, everything works fine. However, after some random period, the server refuses to accept new ssh ...
0
votes
0answers
8 views

How to connect remotely to rabbitmq via browser?

I am quite new to rabbitmq. I have some 3rd party library run rabbitmq on some host. When accessing http://127.0.0.1:15672/#/ through google chrome run on that host, I can log in to the control page ...
0
votes
0answers
18 views

How to expose SSH port publicly from a machine inside VPN?

Suppose I have a machine A that is logged into a VPN. How can I expose this machine A to the Internet such that I can connect to this machine (and get inside the VPN) using just SSH from another ...
0
votes
1answer
14 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 ...
0
votes
0answers
14 views

How to SSH to a device connected locally through Ethernet without having any access to it

I have an Nvidia Jetson board I want to connect to via SSH. It is not connected to any router or any display, but my Windows computer through an Ethernet cable. I assume got the IPv6 of the device and ...
0
votes
0answers
9 views

Securing VNC through SSH Tunnelling on External Network

I have a MacBook and a Mac Mini at home and would like to use vnc to manage my server remotely through the internet. On my router I have it set in the following way: Device Description External Port ...
0
votes
0answers
12 views

rsync and scp start but stuck at 0% and then timeout

I am struggling to copy files from a server(ServerA) via scp/rsync to my machine (ServerB). The problem is weird since some rsync commands work and keyless ssh login also works. However the ...
0
votes
0answers
28 views

SSH into a Public IP address with a specified port

I am attempting to SSH into a camera for work and need a little help. How all this is set up is as follows: We have a single site set up with two cameras and a cellular modem. Both cameras are using ...
0
votes
2answers
33 views

Fake user on SSH server restricted to using only some commands

I am trying to make a fake user (a user that can be logged on from SSH but does not exist on the system) that has some restrictions (for example they can only use one command and when they do another ...
0
votes
0answers
32 views

SSH reverse tunneling alternative?

I have a Minecraft server running on my local Windows PC and a remote Debian server that I use to bypass my ports using SSH reverse tunneling. My problem is that the ping is somewhat high, and I ...
0
votes
0answers
29 views

ssh Lockup With ForwardX11=yes

Why do both of these lockup, never giving me my prompt back? % ssh -X $(hostname) exit % ssh -o ForwardX11=yes $(hostname) exit They both create an ssh session on the current machine with X11 ...
0
votes
1answer
24 views

How do I prevent orphaned `sshd` processes on the server end?

I have a number of processes on client machines that ssh to server machines and do things. Sometimes those client processes end unexpectedly for whatever reason. This always leaves an sshd process ...
1
vote
0answers
16 views

How to limit sshd/sftp connections or memory use in Linux?

I'm working on an embedded Linux system, and I found it will report 'page allocation stall' while I'm downloading file via sftp. Please refer to this video for detail. I've tried the following ways to ...
0
votes
1answer
26 views

Convert GPG key to SSH

I'm currently using gpg-agent to authenticate when I use SSH. However, I would like to go back to just using a plain SSH key without GPG being involved. Is there a way to extract my GPG private key ...
0
votes
0answers
18 views

Command Prompt Black Screen NVIM

I'm facing a really annoying issue with CMD these days. When attempting to launch neovim on Windows, the display is full black and I don't see any output. Issue is the same when I SSH into a Linux ...
1
vote
1answer
27 views

Can you copy public ssh id to authorized keys upon login without ssh-copy-id?

Besides using ssh-copy-id client side or manually pasting your key into authorized keys server side, is there a way once you have already logged into ssh with your password to automatically add your ...
1
vote
1answer
14 views

Linux permissions varies between parent directory and double dots

I have a directory content: [root@myserver ~]# ll -a /home/user/.ssh drwx------. 2 thomas water 48 26 nov. 15:57 . drwxrwxrwx. 12 thomas water 4096 25 nov. 11:36 .. -rwx------. 1 thomas water ...
0
votes
0answers
22 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 ...
0
votes
1answer
32 views

How to tranfer files with SSH from PC to iPhone over USB

DISCLAMER : Stack Overflow closed my question and told me to post here so do not be mad at me please Hi I am trying to tranfer files from my windows computer over to my jailbroken iPhone using openssh ...
0
votes
0answers
33 views

Powershell / cmd does not render ssh programs run on remote machine

I can connect to my remote debian machine with ssh and all screen is drawn OK. Commands like build-ins or ping outputs seem to be rendered correctly. The problem starts when I like to do anything with ...
0
votes
0answers
6 views

how use ssh with MultiMonitortool [closed]

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
1answer
22 views

How to unblock an outgoing port in Windows (Windows 10 Pro)

It appears that Outgoing Port 22 is blocked in a windows machine that I'm working with. The reason I think this is that I cannot SSH into anything using the windows terminal or Putty. I tried a few of ...
0
votes
0answers
22 views

X11 forwarding failed on one particular Ubuntu computer

I'm getting a failure on only this computer (synergistics). Other computers on my home network I can ssh into them with -X -Y, start an application and the window shows up on my workstation (uname -a =...
0
votes
1answer
14 views

Straight rsync with intermediate SSH host

There's a bunch of great tips here regarding using rsync with "proxy" host, but all I found assume there's SSH server everywhere. What I have is: host A - rsync client, SSH client (Linux), ...
1
vote
2answers
139 views

How to do automatic 2FA with SSH/SCP on Windows (ideally using PuTTY+WinSCP)?

I am on Windows 10 using PuTTY and WinSCP to SSH/SCP into a linux server that has two-factor authentication (2FA). Each time I log in, it asks for my password and a verification code. I am curently ...
0
votes
0answers
21 views

ssh: connect to host {ip} port 22: Unknown error

Pretty much I set up ssh on a windows 10 machine with OpenSSH and I get the error ssh: connect to host {ipv4} port 22: Unknown error every time. I am typing ssh Woodw@{ipv4} to connect to the server. ...
0
votes
0answers
13 views

Connect to Azure Public IP Address and tunnel traffic to private IP address in database port

I have the following setup in Azure with two virtual machines: Windows Server 2019 with Public IP address Firewall rules allowing traffic by Internet to this VM on SSH, HTTPS and RDP Network traffic ...
0
votes
1answer
16 views

ssh hostbased access denied

Under Centos 7 with Selinux disabled, I can't connect through ssh with hostbased authentication. Server side : /etc/ssh/sshd_config : HostbasedAuthentication yes IgnoreUserKnownHosts yes ...
-1
votes
1answer
24 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 ...
0
votes
1answer
38 views

Windows CMD "or" Symbol ("||") Only Works Sometimes

I have written a batch script on my windows ten laptop (I am used to bash scripting, so this might be a simple cmd scripting answer) that sshs into my Ubuntu Server 20.04.3 at home no matter where I ...
0
votes
0answers
17 views

How to debug ssh not connecting on specific port?

I am trying to connect to a docker that is run on a remote machine using ssh, with the docker exposing its own port 22 as port 2222 on that remote machine. After docker run -ti --hostname my_docker --...
0
votes
0answers
30 views

ssh: Connection reset by peer Mac OS

To work with Hadoop, I edited the hosts file and deletе some lines (these lines interfered with correct operation). When running ssh localhost, I encountered the error: kex_exchange_identification: ...
0
votes
1answer
16 views

How to set up multiple sftp users with specific requirements

I have an ec2 instance running ubuntu 20.04. I need to set up multiple sftp users with the following requirements: Each can log in directly to their own directory. They should not be able to see, or ...
0
votes
0answers
28 views

Windows 11 - can't create a public key with SSH-Keygen

I am trying to create a key with ssh-keygen but none of the keys is considered fitting when I try to use in GitHub (unless I am getting it wrong). Posting examples below. This is my id_rsa file: -----...
0
votes
1answer
23 views

ssh connexion : Permission denied (publickey,password)

I'm trying to connect to my server with a ssh connection, so it works when I use FileZilla but not with the command line ssh <login>@<ServerIP> -i /Volumes/ExternalDisk/key.ppk I have this ...
0
votes
0answers
21 views

How to copy with the mouse from tmux to the OSX clipboard

I connect to a remote server with VS Code through ssh, using https://code.visualstudio.com/docs/remote/ssh, so I'm not using iTerm. I open a Terminal window in VS code. Using the mouse to copy text to ...
0
votes
2answers
33 views

Save/backup Ubuntu server with users and state over SSH to image or similar

I have a remote Ubuntu server which I will install a small software stack on, set up one user, configure the firewall, and change a few systems setting on. After I have done that I would like to back ...
0
votes
2answers
33 views

Unable to ssh into ec2 instance with .pem keypair

I created a new temporary ec2 instance (using a snapshot of my original ec2 instance) ang generated a mykeypair.pem file to use as a keypair that I hoped would allow me to connect to my virtual ...
0
votes
1answer
26 views

Installing ssh server in windows 10

I cant install ssh server in windows 10 as I mentioned in this post here: Can't install open ssh server in windows 10 So i want to know is there any other way or third party way to install it in ...
0
votes
1answer
28 views

I am trying to run the tcpdump on remote machine using ssh using nohup

I am trying to run the tcpdump on remote machine using ssh using nohup. [support@sv4-haswell107-bqkp91500107-node-1 ~]$ nohup sudo tcpdump -i lo port 2049 -s0 -w ./test.pcap >/dev/null& ...
0
votes
1answer
55 views

Why does GitHub recommend ed25519 SSH key encryption scheme, but itself uses ECDSA?

https://docs.github.com/en/authentication/connecting-to-github-with-ssh/generating-a-new-ssh-key-and-adding-it-to-the-ssh-agent Above recommends using ed25519 when configuring SSH keys for connecting ...
2
votes
1answer
53 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\...
0
votes
0answers
26 views

How to forwarding audio through SSH

I'm trying to forward every sound from the remote computer to the local computer. My remote computer is CentOS8 and my local computer is Ubuntu 20.04. I'm trying to follow the guide in the link1. ...
0
votes
1answer
14 views

Make my machine open to internet through VPS

So currently what I have as follow: Private IP A Windows local machine I have full access for An Amazon free-tier VPS that I have full access So as you know the AWS Free Tier has a public IP on it, ...
0
votes
1answer
36 views

Over SSH, can you use the same private key on the host side for other purposes?

I'm sat on one computer ('client') and connecting through SSH to another computer ('host') using my private key. On the host computer, I would like to clone a Git repo using the private key that's ...
0
votes
0answers
16 views

How to SSH control your Windows through iPhone shortcuts on every network?

How to SSH control your Windows through iPhone shortcuts on every network? I have noticed every time I connect to a new network the IP of my Windows changes, which makes the SSH request useless! How ...
0
votes
0answers
40 views

Remote server: no such file or directory

Remote server shows some files (.csv) in a particular directory but I cannot open those files or delete them. I have tried using Windows File Manager, FileZilla and also Command Prompt using ssh. When ...
0
votes
0answers
40 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. ...
0
votes
2answers
115 views

Endless ssh attempt from my IP using my public key ? Fail2ban fail to log anything useful

Lately, my hostinger server has been acting strange, I have hard time accessing the site hosted on it, I can't even ssh, however when I restart the server from hostinger panel. It works again. Upon ...
1
vote
1answer
25 views

SSH passthrough?

I borrow the word "passthrough" from GPU passthrough in virtual machine because the concepts sound similar to me, at least from usage point of view. Here I have a QEMU MV, both host and ...

1
2 3 4 5
193