Stack Exchange Network

Stack Exchange network consists of 174 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

Questions tagged [ssh]

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

0
votes
2answers
17 views

OpenSSH Server – problems trying to connect two laptops on home network

This question is relating to OpenSSH client and server (which became bundled with the Windows OS rather recently). I am hoping to get some help from someone who is more knowledgeable about SSH. I ...
0
votes
0answers
9 views

is it safe to keep ssh keys encrypted with gpg in git?

I found myself switching a lot of computers so I thought of making a small sh file to move my ssh keys around for faster configurations: tar cvzf archive.tar.gz -C ~/.ssh . gpg -c archive.tar.gz rm ...
0
votes
0answers
12 views

Forwarding linux traffic via windows machine

I have two machines: Linux (10.10.10.101) Windows (10.10.10.100) And I want Linux machine traffic to pass through windows machine, so Linux uses windows IP for all outgoing traffic; instead of it's ...
-1
votes
0answers
10 views

Altai SSH not connecting

I have recently bought a Wifi router model Altai C1n i have read the manual from top to bottom but there is no info about ssh connection. ssh port 22 is open by default even after hard reset i have ...
0
votes
0answers
10 views

Prompted for key password when key is in ssh-agent

In an old shell session, the number of ssh keys in ssh-agent tends to be large enough to fail authentication with the server, simply because the client just throws keys at it, FIFO fashion. It seems ...
0
votes
0answers
29 views

how to run a GPU application via SSH on a “virtual” display

I'm currently working with the vulkan-api on a remote machine (linux). Now I wondered if there might be a possibility to run the same application, I'm currently working on, which has a graphical ...
0
votes
0answers
10 views

how to launch a website via ssh windows

I'm connecting to a Windows 10 Machine (Running openssh) from my linux device over ssh. I'm wondering how I can launch a website on the default web browser (to be displayed on the remote machine) from ...
0
votes
0answers
22 views

SUDO_ASKPASS prompt is opening on remote machine

I am trying to rsync a directory from a remote machine to my laptop. The directory on the remote machine is not owned by the ssh user, hence I am trying to use sudo as explained here Both machines ...
3
votes
1answer
37 views

Is it possible to update the built-in OpenSSH Client in Windows 10?

I'm experiencing certain issues with the built-in OpenSSH client that, according to the Win32-OpenSSH Github page, seem resolved in newer versions. The newest version is v7.9 while the preinstalled ...
0
votes
0answers
6 views

Desktop for multiple remote sessions on Ubuntu?

I am looking to buy a desktop PC for my company, fast enough that multiple users (4 at a time, at most) can login over network and have decent a development experience. I am looking for some advice on ...
0
votes
0answers
9 views

Rsync backup from PostgreSQL with Barman on same server?

I have at work only one server to disposal an i want to ask if it is possible to backup my PostgreSQL with the backup-program Barman, where both programs are located on the same server. Is it still ...
0
votes
1answer
24 views

OpenVPN over ssh tunnel

I'm trying to connect to my home network using OpenVPN. My router is behind the ISP's router so I'm having a double NAT problem (IP address on WAN port of my router is 10.x.x.x). ISP cannot provide me ...
0
votes
0answers
9 views

Access secondary EBS volume and change permission of /.ssh directory - AWS

I have attached an EBS Volume(Centos based) with a new EC2 instance(Amazon Linux) as a secondary volume. The purpose of attaching it as a secondary volume is- I want to fix permission of /.ssh ...
0
votes
0answers
18 views

SSH into web server hosting cPanel

How can I get SSH access to remote hosted server using cPanel? While trying to use the command "ssh username@hostname", I'm facing error like (1) connection closed by host and also (2) Resource ...
0
votes
0answers
20 views

How to connect to remote device without using any sotware

how can I access my pi using the static ip and I don't want to use any software or website for that. Currently I am working on my ubuntu and I want to connect my raspberry pi over internet which is ...
0
votes
0answers
32 views

ssh remotely to raspbian os

Raspbian GNU/Linux 9 \n \l Currently I ssh into the operating system, from home, via user_name@ip_address + password. I have set up a tunnel in my modem for this ip_address using TCP. Am I ...
0
votes
0answers
37 views

MacOS Sierra cannot access AWS Ubuntu Desktop via RealVNC client and SSH tunneling

I need to access Ubuntu Desktop 18.x on AWS from my Mac. I have used putty and and am able to connect via ssh. https://www.digitalocean.com/community/tutorials/how-to-install-and-configure-vnc-on-...
0
votes
0answers
14 views

Setup for a few particular goals as a Windows user including: SSH, Git, Linux-like shell, text-editor, C compiler [on hold]

I'm essentially a beginner with respect to the topics included in the question, that is: SSH, Git for version control self/team, Linux-like shells on windows, and running C code. Most urgently, I will ...
0
votes
0answers
8 views

“port 22: Broken pipe” on IPSec VPN(Forticlient) and VMware NAT

Currently I am trying to pass my Windows 10 Fortigate VPN connection to a Fedora 29 Workstation VM(VMware workstation 15), and connect over SSH to machines on that VPN. I am able to ping the machines, ...
0
votes
1answer
27 views

Virtualbox NAT Network port forwarding refuses connection

I created a NAT Network in VirtualBox and from the Ubuntu host I am trying to SSH into the Ubuntu server VM, but I get connection refused. The Ubuntu server VM is connected to the NAT Network using ...
0
votes
1answer
23 views

What are the tasks of ssh and sshd respectively?

I know that sshd is the SSH daemon and also acts as SSH server. I am more interested in the details. From the man page of ssh, https://linux.die.net/man/1/ssh There are some high level explanations, ...
1
vote
0answers
34 views

Sending file from Linux to Windows with SCP Comand

I know there are allready some threads about this but still none of them helped me to solve my problem. I want to send a simple text file from my Linux machine to my windows 10 pc using the spc ...
1
vote
1answer
28 views

Jenkins in docker and ssh

i have a jenkins that run inside a docker container (on a server A) and i want to publish an artifact over ssh in a server B. I have installed the plugin "publish over ssh" in Jenkins but i don't ...
0
votes
0answers
13 views

{Key or TOTP} and password

I'm setting up multi-factor authentication on a Linux box. I have successfully been able to tell the box to accept key-and-password or TOTP-and-password, but I'd like it to allow clients to do either. ...
0
votes
0answers
10 views

Forcing git to use existing ssh connection [duplicate]

At our university we have a node based/cluster server. Because of "security", they introduced a 2-Factor Authentication procedure every time someone connects to the server. Also, because of an ...
1
vote
1answer
30 views

How to use Putty to tunnel to database

I am trying to connect to a remote MySQL database on an Ubuntu 18.04 server using a putty tunnel on my Windows 10 home computer. Using putty, I can connect to my Ubuntu server terminal via SSH. This ...
0
votes
0answers
19 views

SSH tunnel to allow the access to servers IP addresses [duplicate]

I have the following situation. I have a server where a clickhouse DB is hosterd. E.g. server IP is 10.129.240.10, DB IP address is 192.168.11.13:8123. I want to acces that DB on my local pc from ...
0
votes
0answers
12 views

How to run multiuple Python Script, on a Linux Server using a single SSH connection

The question is not about the specif code to write in my specif case. I have bought a server linux based on CentOs. It's my first time I tried to set up and I treat it as a "linux computer". I ...
1
vote
0answers
19 views

Kerberos settings for Windows environment

We do have below Windows env with Kerberos enabled- Machine A - KDC, Machine B - Sftp windows service Machine C - Client from where are trying to connect through ssh command. When we are trying to ...
0
votes
0answers
16 views

rsync error on sync from local to remote, however can rsync from remote to local

I'm having trouble using rsync and ssh to sync from local to remote. However I can rsync from remote to local as follows: rsync -avzP -e "ssh -i /Users/Bab/Desktop/LightsailDefaultKey-us-west-2.pem" ...
0
votes
0answers
12 views

Connect two computers under different wifi using ssh

Under the identical wifi, I could connect to another computer using SSH me@me:~$ ssh assistant@assistant.local assistant@assistant.local's password: Welcome to Ubuntu 18.10 (GNU/Linux 4.18.0-13-...
0
votes
0answers
31 views

Understanding SSH, TTY and EXEC together

I am trying to learn what happens between SSH client and server when a SSh request is made. I am able to understand till authentication phase (using PAM) but not able to get following things: After ...
0
votes
0answers
21 views

About Cpanel Trial Version [closed]

I did a lot of research, but I need your help on something. I've set up a trial version of Cpanel and can't log in to corporate mail now. Direct access links to Maile also do not work. How can I ...
0
votes
0answers
13 views

Keep software running in VPS [closed]

I bought an Ubuntu virtual private server to run Node JS apps 24/7, I managed to connect to it via PuTTY and got my apps running, but when I close the PuTTY window or shut off my pc, the apps stop ...
0
votes
1answer
33 views

Cannot connect to machine via SSH after adjusting config and removing `70-persistent-net.rules`

Currently, when I try to reload SSH via sudo service ssh force-reload, I get ssh.service is not active, cannot reload. Currently, when I try to ssh to pwnable.kr, I get: ssh: connect to host pwnable....
0
votes
0answers
19 views

How to change size of Terminal window during a tmate session (Linux)?

How to change size of Terminal window during a tmate session (Linux)? Hello, I am connecting from a client to a server over tmate (Linux) On the client side the Terminal window is full of small ...
0
votes
1answer
28 views

VirtualBox allow ssh through NAT only after login local user

VirtulBox: 6.0 Host: Arch Linux Guest: Ubuntu 16.04.5 LTS SSH server: OpenSSH_7.2p2 I configure Port Frowarding: guest 22 -> host localhost:2022. Authentication method only is "publickey". When I ...
1
vote
1answer
26 views

Sshpass in a loop

Why when using sshpass in a loop the first sshpass executes commands, while the next does not? for element in "${a[@]}" do { echo "$element" sshpass -p "omg" ssh root@$element 'ls' } ...
1
vote
1answer
37 views

Windows Explorer Edit Remote Like Fuse

I'm a Linux user attempting to move to Windows. Normally I use Fuse (gvfs-fuse) on a Debian build which allows the file manager to open remote locations (centos servers), which allows me to edit ...
0
votes
0answers
15 views

SSHD Service on Windows Server 2012 R2 not showing

I tried to install open-ssh on the windows server to test a script for sftp. I followed this guide. After setting up the path and switching to the folder I ran from a admin power shell: .\install-sshd....
0
votes
1answer
35 views

How do I access my ubuntu server from anywhere in the world?

How do I remotely access Ubuntu server 18.04.1 Right now I have Ubuntu server 18.04.1 set up, and I use puTTY to access it from my laptop. I want be able to access it though puTTY or ssh or ...
-1
votes
0answers
32 views

Is there an alternative to `ssh -R` that's self-contained — establishing an incoming socket via an outgoing connection?

Is there a self-contained alternative to ssh -R [bind_address:]port:host:hostport functionality? Basically, I have a machine that doesn't have a public IP address. I need to be able to SSH into said ...
0
votes
2answers
52 views

proxy all network communication in bash session

Is it possible to specify a proxy for all network communication in a bash session? I suspect it is possible to do it using ssh but I'd rather not use it if there's a better way.
0
votes
1answer
29 views

SSH doesn't prompt for host authenticity, when connecting through jump-host first time

There is a jump host, called via ProxyCommand, to access some servers. In the .ssh/config file there is a Host definition for each server and the command for the jumphost (with %r and %h coming from ...
1
vote
2answers
20 views

SSH server Permission denied (publickey)

In the past I set up an ssh server with pubkey-only authentication on a kali linux, and it worked, but now I am on Ubuntu 18.10 and it won't work. When I try to connect with client I get: Permission ...
0
votes
0answers
7 views

How to install npm, composer, git etc as root user and share it with other users on siteground dedicated hosting

How to install npm, composer, git etc as root user and share it with other users on siteground dedicated hosting. As a root user i have installed composer, git , npm, node etc. Now when i logged in as ...
0
votes
0answers
11 views

After running proxy on web server,cannot connect to it using SSH

Some interference between VPN(http_proxy) and SSH Because of some web crawler needs, i have to depoly vpn using shadowsocks and polipo on my web server on AliYun, but after register it as a boot ...
0
votes
0answers
20 views

Seeing a lot of logs in auth.log that concerns me

So I enabled publickey,password, as well as 2FA device for authentication to connect through SSH into my computer. However, I am seeing many many entries per minute below: error: Disabled method "...
0
votes
0answers
37 views

Connecting to a service on a host behind NAT from another host behind NAT over the Internet

Assume you have a host (hosta) that is running a TCP service (e.g. a VNC server on port 5901). You want to access to this service from another host (hostb) running a VNC client. Both hosts are ...
1
vote
1answer
67 views

How to remotely verify ssh host key from CLI

So given the following assumptions: 1) I wish to ssh to a remote host for the first time 2) ssh-keyscan shows this: pwaugh$ ssh-keyscan -t ecdsa pi # pi:22 SSH-...