The Stack Overflow podcast is back! Listen to an interview with our new CEO.

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
1
vote
0answers
75 views

How to forward GUI from remote docker container to which I connect via SSH?

I have a MacBook that I use as client machine and connect to remote Ubuntu server where I have a running docker container. In docker container I have an application which use opencv that create an ...
0
votes
0answers
51 views

configure vmware workstation so that virtual machines get IP from wifi router

I am using Vmware workstation 15 on a laptop which is connected to Wifi network. I am having Debian and Ubuntu instances running as virtual machines. The host OS (Windows 10) is having following IP ...
1
vote
2answers
362 views

Accidentally corrupted my ssh_config file on VM and can't log in anymore, can I fix this without logging in?

I am running a VM on my linux server, and I connect to it usually using SSH. I was editing the SSH configurations for this VM to try out different parameters, and last saved edit was not working. Now,...
0
votes
0answers
27 views

vmware network configuration to bring guest OS on same network as host OS

I am using Vmware workstation 15 on a laptop which is connected to Wifi network. I am having Debian and Ubuntu instances running as virtual machines. The host OS is having following IP Connection-...
0
votes
0answers
20 views

Google cloud platform keeps disconnecting

For the past couple of days I've tried to train a model using Google Cloud Platform. I've used screen command which allowed me to run my training even after I disconnect from the machine, but it seems ...
1
vote
1answer
53 views

How do I pass quotes in tectia ssh?

We use windows OS but instead of using built in native ways to connect to remote machines, they installed tectia ssh. So if I want to run commands on a remote machine I have to open cmd and do sshg3 ...
1
vote
0answers
20 views

Forcing ssh to a login using a specific user when requst is made to a specific port

I want to set up a small thing where friends of mine can ssh into my server and join a tiny chatroom. Now I have most of it setup, but I don't know how to make it so that the client username is ...
2
votes
0answers
86 views

New /etc/hosts domain not working when called with SSH from terminal

I am connecting via ssh to a remote server, as follows: ssh user@128.x.x.x The process works fine as I have the password to get into the server I need to work with. I wanted to set a name to the IP ...
1
vote
1answer
37 views

Turned off HTTP access to my router by mistake

I've disabled ICMP and HTTP access by mistake on my router today and I cant access it anymore :( The worst part is that the reset button is broken and I can't reset my router to the factory settings. ...
0
votes
1answer
10 views

SSH Agent Forwarding on AWS NAT Gateway

I know that it's possible to configure SSH Agent forwarding on Bastion Instance and NAT Instance. Is it possible to do this on NAT Gateway as well?
0
votes
1answer
21 views

Run server’s configuration while SSH into one host

I have a server that hosts multiple domains: server FQDN: server.provider.com host 1 FQDN: example.com host 2 FQDN: example.it host 3 FQDN: example.es I like to use FQDN to connect, I don’t want to ...
0
votes
0answers
30 views

SSH indruder trap

I would like to know if anyone has ever implemented a SSH trap. It would be interesting to set up a system where if someone was to port scan my computer they would find my SSH port open(port 22) and ...
0
votes
2answers
31 views

Transparent ssh tunneling

I have an SSH tunnel defined in /etc/ssh/ssh_config. It contains: LocalForward 0.0.0.0:8000 some-service:80 LocalForward 0.0.0.0:8001 some-other-service:80 I would still like to be able to access ...
0
votes
0answers
76 views

WSL: ssh to remote host returns Resource temporarily unavailable

Unable to perform ssh to remote host over WSL: OpenSSH_7.6p1 Ubuntu-4ubuntu0.3, OpenSSL 1.0.2n 7 Dec 2017 debug1: Reading configuration data /home/xxx/.ssh/config debug1: Reading configuration data /...
0
votes
1answer
35 views

ssh to a new 'vagrant up' doesn't work until after the first time I run vagrant ssh

When I just start up a new vagrant evn. I can't ssh directly into the boxes until I do a vagrant ssh. Then I can ssh directly with out a problem. In the auth logs I see the following errors Sep 5 ...
0
votes
1answer
22 views

Accessing the current remote session using SSH

I have a Raspberry Pi which I use to run a Python script 24/7. I can remotely access it from my Linux laptop using SSH. But connecting to it using ssh <username>:<address> will create a ...
0
votes
2answers
27 views

Linux configuration for Network (Switch/Routers)

I have a requirement where I have to connect to multiple devices connected to different routers with a same switch. Linux: Centos 6.5 Switch: Tp link router as switch Router1: xxx.xxx.1.101 ...
0
votes
0answers
28 views

Cannot connect to my Linux server using FileZilla and Putty

I am getting the following error from FileZilla: "Connection timed out. Could not connect to server". Similar error using putty as well. It was working fine just a few days ago and have not made any ...
0
votes
0answers
38 views

ssh from windows at my house to school linux server

this is my first post here so any other information you need I can provide. I am trying to ssh into my school server and I tried from command line, I tried putty, and I tried xtogo. xtogo and command ...
0
votes
1answer
99 views

packet_write_wait: Connection to x.x.x.x: Broken pipe

I have been running codes on Google cloud GPU for some days now. Recently, a problem occurred frequently and had become a headache of mine for days. For some time, an error message will occur ...
0
votes
1answer
31 views

I can't log to ssh after enable UFW

When i try Set Up a Firewall with UFW on Ubuntu i start with enable port 80 and 443 for http and https but before enable ssh because internet probleme i lost connexion with putty so now i can't log ...
1
vote
2answers
127 views

How to overcome blocked SSH attempt

I am trying to SSH to a remote university machine from a library, but I get the error message: ssh: connect to host remote.machine.edu port 22: Connection refused I have previously posted about this,...
0
votes
1answer
47 views

OpenWRT port-forwarding doesn't work for me

I'm trying to forward a few ports to a server that I run, mainly port 80, 443, and 22. Right now I'm just trying to get a single port forward working but no dice. The firewall on the server accepts ...
0
votes
1answer
71 views

crontab job log message shows a error status 0x004b from mta#012

crontab job log message shows a error status 0x004b from mta#012 when I try to check my crontab job. # grep CRON /var/log/syslog [...] I get this log: Nov 26 08:00:01 stiitsrv9 CRON[26109]: (root) ...
0
votes
0answers
9 views

I struggle with set up Github for Ubuntu by using SSH through proxy

When I copy/paste ssh -T git@github.com or even ssh -T -p 443 git@ssh.github.com it does not work. . . I got this message ssh: connect to host ssh.github.com: Connection timed out. I tried differents ...
0
votes
0answers
29 views

I can log in successfully with ssh sert, even if I do not provide passphrase

My client OS is Ubuntu 18.04, server is Ubuntu 16.04. I created and uploaded new ssh certs, created ssh config. Cert has passphrase. When I try to log in via ssh in terminal, there appears Gnome ...
-1
votes
1answer
20 views

Using bash to run remote script on Linux board

I can execute following command on my Windows 10 machine using OpenSSH with no problem: ssh root@192.168.1.145 cd /home/root/proj;./a.sh arg1 This command will run the remote Linux script a.sh with ...
0
votes
0answers
28 views

Intermittent Login Failure to RHEL 6.8 Host in an Active Directory Domain Environment

I am working in an Active Directory domain of Windows 10 machines. We also have three Linux hosts. Two are running RHEL 6.9, and one is running RHEL 6.8. We do not use local accounts. All accounts ...
-1
votes
1answer
72 views

Using OpenSSH between Windows 10 machine & a Linux board

When I run the below commands from Windows, the shell script a.sh on my Linux board works very well. The Linux shell script a.sh is in directory /home/root/proj. ssh root@192.168.1.145 root@board:~# ...
0
votes
0answers
23 views

ssh to openVPN server from computer using iPhone personal hotspot

If i use my iPhone's personal hot spot I can't SSH into an openVPN server on EC2 from a computer connected to the phone by USB cable. Is this possible? Phone is an iPhone 7 and the computer is Ubuntu,...
0
votes
1answer
20 views

Cannot find job from another terminal/user after ending a terminal session from where originally the job was started

I have started jboss and send it to background process from a particular ssh session. But as the session got timeout I did ssh (diff session) but now neither I could list the bg jobs nor jobs command ...
0
votes
1answer
54 views

ssh executing a bash script, python curses, setupterm: could not find terminal

I am developing a python application for a remote system which has a device connected via a serial port. At the moment my workflow looks like this write code locally commit to git git push change to ...
0
votes
1answer
23 views

Why ssh connect by -i flag and not with -F flag?

I use Ubuntu 16.04. I want to make the ssh connection to amazon service by separate config file. Also I need to transfer files from one server to another server and this post advice to use ...
0
votes
1answer
24 views

how to add timestamp to file names when moving them to cloud storage using cron job in ssh

I have built an ftp server on google compute engine that receives data from on prem systems as csv. I want to move this data after receiving it to a google cloud storage using a cron job from the vm ...
1
vote
1answer
51 views

ssh Breaks vim Color Scheme When Using tmux

In tmux, my terminal's vim color scheme changes after connecting then immediately disconnecting from a remote server via ssh. The exact command sequence is: tmux vim <my_file> # vim colors ...
0
votes
1answer
24 views

ssh asking for password

I have a Ubuntu server 18.04 accesible, lets say, at example.com. I connect to it from a MacOS via SSH. From the client I create my keys like this: cd ~/.ssh ssh-keygen -t rsa -f mykey -C "mykey" ...
0
votes
0answers
64 views

Different Users - different SSH keys

I have two users on my Ubuntu server: user1 (home: /home/user1 - owned by user1) has sudo rights user2 (home: /opt/apps - not owned by user2) is only used for sftpd. I disabled password login to ...
0
votes
0answers
27 views

Amazon EC2 ssh keypair authentication + 2FA

I've successfully setup 2FA on multiple hosts following the below (and similar instructions) where I typically authenticate via ssh using a username / password: https://aws.amazon.com/blogs/startups/...
0
votes
1answer
66 views

SSH into remote machine, run find command, then rsync the results of the find back to the local machine?

Basically the title. Here is what I have had success with so far: A) this successfully finds the file I need and displays it in the terminal of my local machine: ssh remoteuser@remotemachine find /...
0
votes
0answers
7 views

What is the mechanism that sets network control policy for users and groups locally and remotely?

tl;dr I think polkit is the answer but don't understand where the local setting is stored vs. the remote setting. Am I right? If not, what is the correct response. For the record, I'm working with ...
0
votes
0answers
15 views

Return back/check status of SSH session put into background via -f flag

Consider following ssh connection with some random port forwarding: ssh -L <PORT>:<IP>:<REMOTE-PORT> <USER>@<REMOTE-IP> -fN As per documentation, the flags used are: ...
0
votes
1answer
30 views

PuTTy Login timeout and X11 Forwarding

I'm using PuTTy and X11 forwarding (XMing) and I'm trying to simply log into a linux PC in my network, from which I want to launch graphical applications. I'm following this tutorial http://www.geo....
0
votes
1answer
100 views

SSH asking for user password instead of private key passphrase

Short Summary: I am trying to connect to a Mac mini from a Windows PC through SSH to execute a shell script on the Mac mini. I do not want to store the user password in my script. I would rather use ...
0
votes
0answers
64 views

How to change PuTTY.exe directory in cyberduck on windows?

Cyberduck couldn't find the PuTTY.exe file, so it prompted me to find it, but I accidentally chose the cyberduck executable. How do I change the file/directory in the settings? And also, where was ...
1
vote
1answer
27 views

Edit files from remote server with VS Code

My university has its own server used for development and we can SSH into the server to access files. I use WSL to SSH into the server and I am able to see all my git repositories. I know I can use ...
0
votes
1answer
94 views

Passwordless SSH from a Linux system to a windows system [duplicate]

My problem is that I need to establish passwordless SSH from a linux (RHEL 7.6) based system to a windows server(2012). I installed OpenSSH packages through the steps (https://github.com/PowerShell/...
0
votes
0answers
12 views

SSH Tunnel to localhost:3389 disconnects quickly

I have a remote Windows PC PC1. Normally I would connect to this PC through VPN, of course this works perfectly. Now what I'm trying to do is to make it a little bit easier for me to connect by ...
0
votes
1answer
12 views

Can I connect to a sql node on a different machine (windows) from Mac?

GOAL: I'm trying to connect to a windows machine which has sql on it via "Connect to Server" on my Mac OS Mojave. My questions: Can I connect to a server on windows machine using Connect to Server ...
0
votes
1answer
48 views

how to identify the connected client pid/tty from inside tmux

I'm using a long running tmux session on my workstation. Sometimes I have to connect to this workstation by ssh from my laptop. I take my ssh private key stored on a YubiKey with me. Means the Yubikey ...
0
votes
0answers
14 views

How to customize Chromium fonts remotely via SSH?

I am running headless Raspberry Pi with Chromium in kiosk mode, which is very far from me. Almost 3000km. Yesterday, I uninstalled and installed Chromium on the Pi via SSH. Now the customized font I ...