Stack Exchange Network

Stack Exchange network consists of 175 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
0answers
6 views

Google API client localhost refused to connect

I'm trying to configure the Google Sheets API to run their quickstart.py script, and sync with my google sheets login. I'm getting an error message: "This site can’t be reached localhost refused to ...
0
votes
0answers
9 views

very slow SSH connection when using VPN

I connect via SSH from my work computer to the client. This works well. However, when I am at home and connect to the work network with a VPN and then try to connect via SSH the login also is very ...
0
votes
1answer
17 views

Connecting via VPN to a cloud VPS

Problem Statement: How do I connect to my Digital Ocean Cloud VPS via SSH over a secured network such as a VPN / Tunneling? Detailed Context: 1. My Server: a CentOS 7 Droplet with a public IP on eth0 ...
0
votes
0answers
25 views

ping at University halls of residence

One computer has a ssh server running on Linux, and I can login on the localhost with : ssh myuser@localhost. The Linux computer IP is : 10.188.116.102 The other computer has Windows 7. The Windows ...
0
votes
0answers
10 views

TP Link router - Port forwarding not working

I have a TP-Link router and I have followed the appropriate steps to forward the port 22 to use an SSH connection on the remote machine. I forwarded the port 22 on the machine's LAN IP. But when I ...
0
votes
0answers
11 views

Bastion server: create users with the ability only to ssh destination server

We have bastion server. We should have some users that need to SSH from local through bastion to C, using proxyCammand and private key. I want to create users and group that should have access ONLY ...
0
votes
1answer
40 views

Can SSH locally, but cannot SSH from WAN, even though port forwarding is enabled

I am trying to setup an SSH server, and I can SSH locally with pubkey authentication, but when I try using the server's public IP, I cannot. I checked this website to see if the port was really open ...
0
votes
0answers
12 views

NGINX SSH stream based on hostname

Is possible to configure a proxy for SSH based on the hostname? Such as: |-> host1.domainexample1.com |-> host2.domainexample1....
0
votes
0answers
32 views

Plink/SSH times out with repeated rapid connections

EDIT: My original question was under the assumption TortoiseSVN was the culprit. However, with further testing, I can rule out that it's just a symptom, not the root cause. Based on that, I've ...
-1
votes
0answers
31 views

SSH connection asking for password even i am providing generated Privatekey in windows

I am trying to establish a connection to a Windows machine using RSA key pairs. I have generated key pairs using ssh -keygen (4096 bits keys) and also copied my public key to users/myuser/.ssh/...
0
votes
1answer
45 views

I forget my ubuntu password

I have one ubuntu 16.04 server.The username is yasin. I want to ssh to it by ssh yasin@192.168.122.29 It asked me a password.I think i forget the password because i try everything in my mind. It is ...
1
vote
0answers
18 views

Cannot SSH from Windows 10 to VirtualBox Debian

I am trying to establish an SSH connection from a Windows 10 Home host to a Debian guest. I have followed several guides and created a Host-only network. I have enabled I/O APIC and created a static ...
1
vote
2answers
49 views

How to force hostname to resolve to local address instead of public address?

I have a linux server on my home network which uses Dynamic DNS provided by noip.com, and a corresponding hostname "xxxx.hopto.org". From outside of my network, say, at a coffee shop, I can use this ...
0
votes
1answer
31 views

Migrate MySQL database from Windows 7 to CentOS server

I have a Joomla website which I need to migrate from shared hosting to a VPS having CentOS 7 installed on it. I have already taken the whole website backup including the database on my Windows 7 ...
1
vote
0answers
26 views

Why is SSH changing my display resolution?

I notice that every time I SSH into one of my headless embedded devices running Linux (an Ultra96 FPGA running Debian specifically), the display resolution of my machine changes. Not the the ...
0
votes
1answer
35 views

What is aws sftp password for open ssh login

I run sftp -i privatekeyfile sftp_user@MY_ENDPOINT and am asked for the password for my endpoint sftp_user@MY_ENDPOINT's password: What password am I supposed to supply here ? Others have ...
0
votes
0answers
8 views

Windows nano arrow keys wont work over ssh

I have a windows ssh server and need an ssh text editor. However, When using the windows edition of nano over an SSH connection, arrow keys give the error [ Unbound Key ] in nano. How can I get it to ...
0
votes
1answer
18 views

Why does XWin Server from Cygwin not open?

I installed cygwins X Server to be able to X forward on Windows 10 as explained here. Now the installation completed and it finished without problems, but when I try to start the XWin Server as ...
1
vote
1answer
23 views

Running GUI without need of remote desktop connection on-going

Build: Server with Ubuntu 18.04 in data center with Ubuntu Mate Desktop interface. As I understand, any GUI app needs a display in which to function. I connect to the server via ssh with x2go to ...
0
votes
1answer
33 views

Can't SSH into webserver to access Git repository

I cleared registry files, uninstalled and reinstalled PuTTY, and checked my IP against a spambot database. I don't know what is going on behind the scenes, but in my troubleshooting I read that adding ...
0
votes
2answers
46 views

Linux - SSH Restricting users to certain folders

I am trying to create a support user who should only be able to view the following folders when SSHing into this linux box but should not be able to see any other folder. They would need to cd into ...
0
votes
0answers
22 views

How to connect to a Windows machine via SSH in graphical mode?

I'm on my GNU/Linux computer and I want to connect to a Windows 10 machine with SSH and be able to open different programs (Firefox or Thunderbird for example) in graphical mode (with a GUI, in a ...
0
votes
1answer
25 views

How to use ssh to remote access my Mac at home (terminal only) (not allowed to configure router forward port 22)

I use an iMac at home and a MacBook at work. My Macbook is pretty slow so I want to ssh to my iMac at home to code (I use vim and tmux). I think it might help save some battery for my Macbook too. I ...
0
votes
2answers
27 views

What happens if I try to SSH to a machine that's on my local network using the router's public IP?

I have a few machines on different local networks that I need to SSH into from time to time. None of the networks have static IPs so I use a DynDNS to map each machine to a hostname, then with port ...
0
votes
0answers
29 views

Port forwarding binds to localhost interface in the remote server [duplicate]

I am trying to make my ssh port in localmachine available in a remoteserver: localmachine$ ssh -N -R 3333:localhost:22 remoteserver I expect that localhost:22 (where localhost is as seen by ...
0
votes
1answer
21 views

PuTTy command script hangs after “chroot . sh”

I'm trying to automate a build with Putty, just ssh'ing into a VM and running a few commands by specifying a .txt file that contains the commands to run. One of my commands is chroot . sh and it ...
0
votes
1answer
29 views

SCP not overwriting empty file timestamp

My application daily generates a file that is being sent to a remote host using SCP. The generated file may or may not be empty, and the file usually exists in the remote host (the one from the ...
0
votes
0answers
22 views

Command line based tools problems after changing code page on windows 10

After changing code page on my windows-10 machine, I realized that when I connect to a server via ssh through any console (git-bash, windows-cmd, power-shell etc) after typing a few words on the ...
0
votes
1answer
12 views

Unable to remove permission of pem file using git bash

I want to change the permission of my .pem file. Applied: $chmod -c 600 mykey It gives me result like new ------- but after this, if I run command ls -l, the result is -rw-r--r
0
votes
0answers
16 views

VNC Connection to from one system to another routed through third system in between

I'd like to set up a VNC connection to a system, which is only connected to another system in between via a private network, essentially the system to be connected has only a single network connection ...
0
votes
0answers
6 views

How setup foxyproxy to access compute.internal instances?

I have setup FoxyProxy for amazon emr. So links with IP address that http://XX.XXX.X.XX/ganglia/ can be open in browser. But dns links(http://ip-XX-XXX-X-XX.us-west-1.compute.internal/ganglia/) are ...
0
votes
1answer
19 views

How resize putty window?

There are a lot of questions and answers about resizing console windows which are opened by putty when user press Open button. But how to resize initial puTTY Configuration window opened before ...
0
votes
0answers
16 views

Installation of python based website on Bluehost just not working

I have been at it for 6 months and I cannot get requests to respond on Bluehost shared server. Here is my latest server code in python. #!/usr/bin/python from BaseHTTPServer import ...
0
votes
0answers
19 views

custom script to log in as a regular user on local machine but remotely ssh as root

Good day all, i am not sure if this is the right question to ask. I am a newbie . Pls do anyone have an idea of a possible custom bash script that can be use to login over ssh into a remote server but ...
1
vote
1answer
39 views

Running commands on different terminals on server

I have a list of around 50 commands each command activates a Python environment sets an environment variable (which limits the number of threads the python script can use) and runs a python script (...
0
votes
0answers
14 views

How to use systemd-inhibit without sudo?

I have an SBC (pine64) running Ubuntu 16_04 and I have a long process to do (build tensorflow). I'm using the nohup command to detach the process from my SSH session but two days consecutively my ...
0
votes
0answers
30 views

make .ssh/id_rsa read key from yubikey

I have my ssh keys within a yubikey, I use gpg-agent.conf with something like this: pinentry-program /usr/local/bin/pinentry-mac enable-ssh-support default-cache-ttl 60 max-cache-ttl 120 This helps ...
0
votes
1answer
17 views

git bash for windows seems to use wrong user name for github SSH connection

I have created a ssh key using my github email address and have added it to github: I have also changed my git global email address to use my github email address: but when I try to login it says ...
0
votes
0answers
136 views

qemu vm over ssh with x11 fails with “unable to init server” error

I'm connecting to a remote machine using ssh with X11 Forwarding. What I'd like to do is start a qemu vm I have set up that boots my Windows install on another drive (on same remote computer). It ...
1
vote
1answer
1k views

Am I using my SSH keys correctly?

I recently created my keypair via ssh-keygen -t rsa -f ~/.ssh/my_keyname -C pebaken So I looked into my .ssh folder located in my home user directory and found 2 keys one my_keyname.pub and ...
0
votes
1answer
113 views

trying to save credentials of ssh login gives a Load key “/Users/uname/.ssh/id_rsa”: Is a directory error

I have a file called "mykey.pub" in /Users/uname/.ssh/id_rsa I created it with: ssh-keygen I did (from inside the .ssh directory) sudo ssh-copy-id -f -i id_rsa/mykey.pub mykey@host When I try to ...
0
votes
0answers
13 views

Use a server with open ssh port as a proxy [duplicate]

I have a server (let's call it S1) on a network, where I cannot have any ports open. I have solved the problem by using ssh tunneling (ssh -R) which is started on S1 by a systemd daemon so that it ...
0
votes
1answer
51 views

Ubuntu Jail FTP-User in /var/www/html with full permissions

On Ubuntu 18.x I want to block a user in the /var/www/ html directory I created a user this way: useradd ftpuser passwd ftpuser usermod -G www-data ftpuser usermod -d /var/www/html ftpuser chown ...
0
votes
0answers
13 views

Autologin problems on Kali Raspberry Pi

I'm trying to configure a headless raspberry pi running kali linux. I want it to skip the login screen and autologin to root. I've googled and duckduckgo'd this a lot and supposedly it's pretty easy ...
1
vote
0answers
18 views

Is there a stunnel / other SSL tunnel equivalent of “ssh -D”?

I am trying to find a way to set up an SSL tunnel and use a SOCKS proxy in the same matter that I am using ssh -D <port>. Is there any equivalent of doing so using stunnnel? I am using a linux ...
0
votes
0answers
19 views

Run bash in restricted mode when called by R “?” help command

I often use the terminal built in to Rstudio to run interactive R commands and scripts remotely on a server. Occasionally I end up executing in terminal when R is not running in terminal. This can ...
0
votes
0answers
19 views

sshd seems to ignore pam auth section when authorizing through private key

I configure ssh authorization to drop some users with rules, defined in script, and also give them some extended capabilities when they login. I use two pam modules - pam_script and pam_cap and change ...
0
votes
1answer
40 views

Receiving error when trying to use ~/.ssh/config “ssh: Could not resolve hostname”

I have scoured the internet for a solution, but no solution is working for me!  I am trying to create a bastion server with a public AWS EC2 instance that will connect to a private EC2 instance. ...
0
votes
1answer
20 views

2 CentOS boxes - one can't SSH to the other using publickey auth?

I have 2 CentOS boxes with literally identical sshd configs and overall setups. Box A can SSH to Box B just fine, but Box B can't SSH to Box A using publickey authentication (works fine with ...
0
votes
0answers
46 views

Outbound SSH Connection Refused

I'm working on integrating Ansible to a project to interface with Cisco routers/switches. My issue doesn't seem related to Ansible or my configuration itself, however, as I'm finding if I manually ...