Secure Shell or SSH is a network protocol that allows data to be exchanged using a secure channel between two networked devices.

learn more… | top users | synonyms

0
votes
0answers
10 views

Using reverse SSH to connect two clients over one server

I’m trying to set up multiple client PCs that are behind a firewall with dynamic IP addresses to have an SSH connection available for another PC. My theory is to set up a server with a publicly ...
1
vote
1answer
38 views

Serve MJPG image stream from reverse ssh tunnel

Background I am working on a project that involves 2 servers. Server A is a VPS running Ubuntu 14.04 with a public IP address. Server B is running a MJPG service on port 8080 and does not have a ...
0
votes
1answer
23 views

Lost username on a Debian box

The situation is like this: I logged in to my Debian box through SSH and just found it showing the message that there is no username for the current account. I tried to use whoami to see if the ...
0
votes
1answer
14 views

scp sometimes adds a '-f' flag to my command

When using SCP to copy from a remote host to local (eg: scp -v foo-host:/source/path dest ) I look at the verbose output and notice this is the command sent over SSH: debug1: Sending command: scp -v ...
0
votes
1answer
22 views

How to run a script on ssh login and run another script after the first terminates?

I'm trying to run a script/shell just after I login via ssh to my host with a "guestUser" the mission of this user is to connect to another remote host via ssh, I've created this user on my host: ...
4
votes
3answers
4k views

How to git clone private repos within Vagrant VM, using host's SSH keys?

I'm able to use PuppetLabs vcsrepo to clone public git repos, but I'd like to also be able to clone private repos, using the host's SSH keys. What would the configuration look like for Vagrantfile ...
0
votes
2answers
10 views

Connect to database server inside a tunnel inside a router

I'm using Ubuntu and trying to connect to a database server wich is accessed by a tunnel in my server wich is inside a router and I only have ssh connection to my server. Is there a way to do that? ...
0
votes
0answers
14 views

Mac Host access -> Putty Connection to unix

I'm trying to access in my Mac Host Web Browser to a putty SSH connection to a Linux Server that I have made and that required a tunnel. I can ping from my Mac Host to the Windows Virtual Machine but ...
-2
votes
0answers
6 views

To which location on windows I need to import my public key from linux to setup password less SFTP transfer?

To which location on windows I need to import my public key from linux to setup password less SFTP transfer from linux to windows? My target is to transfer files via SFTP from linux to windows using ...
0
votes
0answers
10 views

How to transfer directory from remote server to local server?

0 down vote favorite I have a remote server where SSH is disabled and i have only FTP access , on my remote server i have SSH enabled. I want now to download a directory of my remote server to my ...
0
votes
0answers
16 views

Forcing server to server copy to use LAN and not WIFI and “Smart” SSH GUI utility?

I have a simple LAN setup consisting of 4 macs with the included ssh servers turned on (all on Mavericks/Yosemite) I regularly sort and move files between the ssh servers. I'm looking for a tool that ...
0
votes
2answers
3k views

SFTP via Terminal Error

I cant connect to a server via sftp any more, I could yesterday. Here is the full sftp -vvv log, maybe you could help me out? Tried deleting ~/.ssh, tried hosts.allow / hosts.deny. No solution at all. ...
2
votes
2answers
670 views

How to rsync via gateway ssh?

I want to rsync my local files with a backup which I have on a server which allows access from where I am right now only via a gateway. So I came up with the following rsync -avz -r --stats ...
0
votes
1answer
47 views

Installing laravel and homestead on windows 8

For the past few days I have been having a few problems trying to install laravel. I've finally made some bit of progress today when I figured out that I need to have vt-x enabled but I'm still having ...
0
votes
0answers
49 views

SSH to local machine over internet vs over local network

I can SSH into a machine on the local network in two ways: (1) Via local ip: ssh 192.168.1.xxx (2) Over internet (using port forwarding): ssh -p xxx mydomain.com What are the differences? In ...
55
votes
8answers
101k views

Remove key from known_hosts

I built several virtual machines during the last few weeks. The problem is, the .ssh/known_hosts gives me the Man in the middle warning. This happens because another fingerprint is associated with the ...
0
votes
0answers
19 views

CoreOS on VirtualBox only works with one adapter at a time

I'm trying to learn more about CoreOS. (I'm not using Vagrant, just plain-old VirtualBox.) So I created a disk using coreos-install. Unfortunately, I can't find my original cloud-config.yaml file, but ...
2
votes
3answers
2k views

weird SSH connection timed out

This problem started when I tried to login to my brand spaning new VPS server. I remember that in my first SSH try on the server I actually got prompt for password several times which would mean that ...
0
votes
0answers
87 views

Executing Minecraft Server Commands via SSH and Screen

I'm extremely new to linux, so please help me out if you can! I have read many of the posts about managing/monitoring servers using SSH and Screen, but have not found anything regarding my particular ...
0
votes
1answer
37 views

Proxying Minecraft through a SSH tunnel

My setup is this: My computer has a Minecraft server running on it, listening to port 25565. It is protected by a firewall, so can not be accessed externally (and I have no control over port ...
1
vote
1answer
2k views

Unable to ssh in beagle bone black

I wanted to install pip onto beagle bone black,and I tried this: /usr/bin/ntpdate -b -s -u pool.ntp.org opkg update && opkg install python-pip python-setuptools Then it threw errors, ...
2
votes
3answers
336 views

Is it possible to spawn an ssh-agent for a new tmux session?

I've seen lots of hacks for re-establishing contact with a GUI session's SSH agent from within tmux (and screen) sessions. I'm wondering if it's possible to de-couple from the GUI and spawn an ...
1
vote
2answers
27 views

Automating an ssh connection with crontab

I've been struggling to crontab automate a git push process with ssh, and it's proving tricky to setup a key with the ssh agent. Starting with a basic script to test the agent: # set paths (all ...
5
votes
4answers
14k views

SSH Connection: ssh_exchange_identifcation

I have been connecting to a remote server through my Mac for about a month now. As of recent though, I tried to connect using ssh dylan@MY_IP and got this message. ssh_exchange_identification: ...
1
vote
1answer
15 views

ssh -o PreferredAuthentications: What's the difference between “password” and “keyboard-interactive”?

Both PreferredAuthentications=password and PreferredAuthentications=keyboard-interactive would prompt for the password, so what's the difference between them? I Google'd with the keywords ssh ...
0
votes
1answer
39 views

Unable to SSH to internal IP

Read a few related questions here and here. The situation is as follows: assume that I have a computer A and computer B. I am able to ssh to both computers when by setting Port Trigger and Single ...
7
votes
2answers
11k views

ssh-agent / ssh-add error: could not open a connection to your authentication agent

I type in ssh-agent and get the following back: SSH_AUTH_SOCK=/tmp/ssh-GqdeT074HLRJ/agent.4670; export SSH_AUTH_SOCK; SSH_AGENT_ID=4671; export SSH_AGENT_PID; echo Agent pid 4671; I then type in ...
0
votes
0answers
9 views

Add public key to OpenShift?

What am I doing wrong? There are no guides to follow to be able to add this.
-1
votes
0answers
29 views

SSH through specific port not working

I am attempting to use port 4 as my SSH port. Though when I enter: ssh -p 4 Patrick:172.xxx.xxx.xxx It always returns with ssh: connect to host 172.xxx.xxx.xxx port 4: Connection refused and yes, I ...
0
votes
0answers
14 views

SSH remote chroot without root

I have a dual boot system consisting of two Debian OSes. I've installed one of them in a root of the partition and installed the other Debian using debootstrap; the installation partition is called ...
0
votes
1answer
24 views

Start PuTTy session in remote host over network

I have 5 hosts - A, B, C, D and E. A and B are windows hosts. C, D and E are Linux machines running ssh server on port 22. I've copied plink.exe (putty command line backend client) in host B. When I ...
1
vote
2answers
5k views

VLC: Can I stream over SSH?

Question: Can I get a local VLC instance to stream media from a remote computer, via SSH? This is with VLC running on the local computer that I'm watching the video on, not remotely via ...
0
votes
0answers
9 views

How do I pass a private SSH key to a Windows service?

I have a service under Windows which eventually uses SSH (jenkins which eventually tries to pull from a Git repo). If I run Git on the command line, everything works since I've loaded my private key ...
0
votes
1answer
63 views

How to use VLC to watch a file (while it is being modified) on a SSH server (using sftp or smth else)?

I'm using my ssh server to record videos and I'd like to be able to watch them (on a PC using Windows 7 or 8) during the recording. I can of course transfer the file when I'm done and watch it, but I ...
1
vote
2answers
2k views

SSH error ssh_exchange_identification: read: Connection reset by peer

I am trying to access ssh to a server but got "ssh_exchange_identification: read: Connection reset by peer". The same client works well when I move the computer to home but show the error when the ...
-1
votes
0answers
16 views

How to set up PuTTY SSH RSA automatic authentication?

I am very new to encryption and SSH. I have already set up the SSH in putty to access a remote server. According to our company internal procedure, I have to set up a RSA key following this guide. ...
0
votes
0answers
21 views

Unable to git fetch - Connection reset by peer

I have a PHP script handling the automatic deploy to my pre-production server, using Bitbucket's hooks. The deploy script is based on this post. Everything was working fine until this Sunday. Since ...
0
votes
2answers
64 views

No “$” or “#” Sign After Logging in Solaris 10 with Putty

This is my environment : Solaris Version 10; Sun OS Version 5.10 Oracle Version: 11g Enterprise x64 Edition. When I am getting log on through putty it is giving me this output: login as: ora Using ...
40
votes
6answers
46k views

How to use Mac OS X Keychain with SSH keys?

I understand that since Mac OS X Leopard the Keychain has supported storing SSH keys. Could someone please explain how this feature is supposed to work. I have some RSA keys that I've generated ...
0
votes
1answer
3 views

Need to prevent ssh remote server redirect to local file

Our sysadmin wants to move off of Linux because of this redirect, any way to prevent it - via some type of SSH config option, firewall rules etc? ssh myuser 192.168.2.100 'cat confidential.txt' > ...
12
votes
4answers
3k views

Synchronize pasteboard between remote tmux session and local Mac OS pasteboard

Setup: I use iTerm2 on MacOS to connect to a remote server. The remote server runs tmux, in which I open files and edit in vim sessions. Problem: I can't copy/paste between the remote tmux session ...
8
votes
1answer
456 views

How to make screen bigger in byobu

My new server install looks odd: is there anyway to resize it to use the whole terminal window?
0
votes
0answers
20 views

SSH2 taking too long to connect with remote server [closed]

I am trying to connect with remote server using SSH2 configuration but it’s taking too long to connect with remote. Is there any way out for this so that i will connect with remote quickly using SSH2? ...
4
votes
2answers
1k views

SSH-client on windows that supports ECDSA

I'm looking for a ssh-client on windows that supports ecdsa. There is a whish for putty, but no support yet. Winscp is waiting for putty to implement it. It seems to me that there is no client that ...
0
votes
1answer
26 views

SSH shared private key: A@box1 & B@box2 connecting to A@box3. SSH Key without passphrase works, with it doesn't. Why?

I have an question about SSH key with vs without a passphrase. I am able to do as follows without a passphrase, but not with: User A@box1 and User B@box2 both share the same private key. Both try to ...
0
votes
3answers
4k views

Edit-text-files-over-SSH using a local text editor

I am working in various Linux and UNIX environments. I'd like to elegantly solve the problem of editing remote configuration files over SSH. Instead of using terminal editors (nano), I'd like to open ...
0
votes
0answers
16 views

Using ssh agent to sign a string

I am trying to learn more about asymmetric keys. I am writing a program that uses ssh-agent server to sign a message. This works well, but it generates a RSA-SHA1 signature of the message, which I am ...
2
votes
1answer
30 views

How to tell Git to use a different SSH config file?

I want to specify a lot of options for SSH when Git uses it. We're using ISPConfig, which sets the owner of the web users' home directory to root, which causes a lot of trouble, including that I can't ...
0
votes
1answer
29 views

Remote SSH Commands - bash bind warning: line editing not enabled

I am using bash 4.3.11(1) and have the following history plugin installed (via .bash_it): # enter a few characters and press UpArrow/DownArrow # to search backwards/forwards through the history bind ...
-1
votes
0answers
30 views

Cannot SSH to server on VPN

I have 2-level routers. Router 1 is ISP router (Technicolour TG582n) and has xbox connects to it via LAN, IP 192.168.1.243. Router 2 is a VPN client router (Asus rt-ac56u) and connects to router 1 ...