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
Join us in building a kind, collaborative learning community via our updated Code of Conduct.

Questions tagged [ssh]

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

0
votes
0answers
9 views

Execute a script as root when non root user logs in

I've seen this question asked before here and here but they're pretty old and I haven't been able to get any solution to work. Basically I need to run a script or command automatically as root each ...
0
votes
0answers
13 views

Can't SSH to machine behind NAT. (I know this is common, but I'm at the end of my rope here.)

I am using a Netgear WNR2000v5 router. The router itself has a static ip address, and is set up to utilize Network Address Translation. I have enabled port forwarding in the gui interface, and have ...
0
votes
0answers
8 views

virtual box shared directories not showing up in cygwin when ssh'ing into it

I've set up too shared directories (Permanent, Automount) between my Linux Mint host and my Win7/Cygwin guest. On the guest, if I open a cygwin terminal and run mount, they show up as: E: on /...
0
votes
0answers
13 views

Ssh'ing in and out of a virtualbox guest

I've set up port forwarding and allowed a firewall exception so I can ssh from my Linux Mint host into a Windows7/Cygwin guest. #from linux host hostuser@host$ ssh -p 2222 guestuser@localhost What ...
0
votes
0answers
6 views

shell request failed on channel 2

I have a ssh server which I used to connect to it via bitvise SSH client on windows. now I want to connect via my ubuntu command line to this server with this command : sudo ssh -oHostKeyAlgorithms=+...
1
vote
1answer
22 views

How to use ssh on cpanel server?

I want to entry to my cpanel server, but I can't do it. This is what I did. I am going to the login page of my server on cpanel and I got in. Then: Security -> SSH Access -> Manage SSH Key -> ...
0
votes
0answers
26 views

SSH equivalent of PuTTY remote forwarding?

I need help with finding the ssh equivalent of PuTTY remote forwarding. The scenario is that if I use PuTTY remote forwarding like this I am able to access localhost:3030 by connecting to remote:3000....
1
vote
1answer
34 views

SSH “refused key” only with public IP, works locally

So my issue is that I'm unable to connect to my SSH server (running on Linux Mint Sarah) from my client (Windows 7 via PuTTY). Only works through the local IP. Both server and client are on the same ...
0
votes
0answers
13 views

Batch script for automatic password submition

I have a windows 10 computer and a very old laptop that I ran Ubuntu on. I often use that Ubuntu laptop but it's really old so mostly I connect to it via ssh and do my work in the terminal. It looks ...
1
vote
0answers
18 views

How to view a .rar file content remotely in a shared cPanel server (hostgator)?

I've tried using unrar via SSH but this command is not installed on my shared hostgator account. Is there any application that does this in this kind of environment? How to view a .rar file content ...
2
votes
1answer
39 views

How does one forward a TCP connection (specifically MyQSL client-->server) through a multiple hop SSH tunnel?

I want to open a connection to a remote MySQL database. This database is in a private subnet on a different network, so I cannot directly open a connection to it. Remote SSH access is also ...
0
votes
2answers
15 views

Copying to an NTFS filesystem on a remote machine while presevering metadata

I want to copy a bunch of files to a NTFS partition on a remote machine while presevering the file dates. Preserving metadata on a local copy is already tricky on an NTFS filesytem: $ cp -p testfile /...
2
votes
0answers
20 views

Unable to access a linux server behind NAT via reverse SSH tunnel with passwordless SSH login

Problem I cannot connect to my homeserver via passwordless SSH login from my clientcomputer/remotecomputer via my relayserver. I get homeserver@localhost: Permission denied (publickey). History/...
0
votes
0answers
29 views

nscd on ipv6 dhcp with link-local addresses causes “ssh: connect to host myserver port 22: Invalid argument”

(I figured out this is related to nscd; please see the bottom of the question) I'm trying to connect to a headless server via my laptop; they share a wired link via a Linksys wireless router and TP-...
1
vote
1answer
35 views

How do I exit from the Terminal in Windows Subsystem for Linux?

I have installed Windows Subsystem for Linux (WSL) on my Windows operating system and am able to see Terminal in Visual Studio Code Editor. So I typed help ssh command and hit enter, since then I am ...

15 30 50 per page