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

5
votes
1answer
222 views

Is uploading your openssh public key to ~/.ssh/ for a given user safe?

I like to upload my public key (eg: ~/.ssh/id_rsa.pub) to various servers that I connect to on various networks for work. I use this same public key on Github. If I am on a shared user account and I ...
0
votes
0answers
24 views

Let user use PuTTY/SSH without exposing the private key

We want to use PuTTY to SSH to a Unix server to start a command. But a requirement is that the logged in user can not view the private key. We came up with a solution where we'll use Pageant to ...
0
votes
0answers
25 views

why do I need “-t” option with Tectia sshg3 client and pbrun command

I'm using tectia ssh client for windows (from the command line) sshg3.exe to log in and run a command to get power broker user/account: sshg3 [options...] profile | [user@] host [#port] [command] ...
0
votes
1answer
28 views

shellinabox - How can I restrict access to certain users only?

I've got a Ubuntu 14.04 machine which I've set up with shellinabox. Now I would like to restrict access to shellinabox to only a certain user account. Nobody else should be able to log in with it. ...
1
vote
0answers
79 views

Can't get private GitHub repos to work with Vagrant/Puppet on Windows

I have a project and we use Vagrant for our development env. On Mac/Unix the provisioning works perfectly except in Windows, the problem is that forwarding agent doesn't work on windows and therefore, ...
0
votes
0answers
41 views

SSH reverse proxy

I am setting up a Gitlab server (https://about.gitlab.com/) inside a virtual machine using KVM on a Ubuntu 14.04 host. My university charges us for every external IP address, so I cannot use bridged ...
0
votes
1answer
42 views

How to convert a WinSCP ppk to .CER/.PEM format acceptable by Azure Linux VM?

Googling was fruitless, as most people have a slightly different variation of this problem. I need to write some instructions on how to set up an Azure Linux VM and generate the keys using WinSCP. ...
0
votes
0answers
10 views

cron unavailable, how should I run old jobs?

My hosting company requires cron jobs to be entered one-at-a-time thought thier web interface rather than the command line. I've got about 70 jobs to transfer over from another host. Is it ...
1
vote
1answer
26 views

SSH via gateway with SSH keys on Gateway

I want to set up my company's server as a gateway to all of our client's servers. So that people I work with can simply 'proxy on through' without needing to set up SSH keys on their machine. I.e. ...
0
votes
2answers
17 views

SSH won't find private key with -i parameter

My SSH connection works fine if I do this: ssh myuser@myserver.com -i ~/.ssh/myserver However if I omit the '-i', it demands a password and I have no idea why. It seems that my SSH client is not ...
1
vote
1answer
29 views

Run sed as a one-off ssh command

I would like to substitute a string with another in a file on a server of mine. I've tried doing this: ssh $REMOTE_HOST sed 's|export ${KEY}=${VAL}|export ${KEY}=${NEW_VAL}|' "$ENV_FILE" And a ...
0
votes
0answers
27 views

Disappearing Crontab, Odd Files

I have a number of Debian-based systems running on an ARM-based SBC connected to a network and they've been running for years. All of a sudden, when I log onto several devices, the cron file is ...
0
votes
0answers
24 views

Can't write files using new user on Linux Ubuntu via SSH

So I just added a user to my server, let's call it "user2", when I tried uploading a file via Filezilla while logged in to "user2" I got the error open for write: permission denied, so I assume ...
0
votes
0answers
38 views

use sock proxy in command line

I set up the sock proxy using ssh with Secrete socks successfully and I can visit the web site that is blocked previously (say youtube, Yes, I live in China). The problem is I still have issue in ...
2
votes
0answers
42 views

Strange behavior on SSH public key login

I'm really stuck here. I've been trying to ssh into my ec2 server from local with a public key but it is not working. -> I get permission Denied (public key). The set up is as follows: Local: ...
1
vote
3answers
81 views

SSH connection not possible in local network

Today I realized a very strange thing: I have a server (running Ubuntu Server 12.04.4 LTS) in my local network whose SSH port is accessible via the internet (I can connect to it using ssh ...
1
vote
0answers
7 views

Scroll with mouse in tmux without mouse highlighting controlled by tmux

From this question, Scroll shell output with mouse in tmux the setting setw -g mode-mouse on allows mouse scroll in tmux. This also causes mouse highlighting by click and drag to be controlled by ...
0
votes
0answers
13 views

Connecting to ssh server that only accepts local connections

This is the situation right now if I want to connect to my university server for using some statistical software made available. I connect my laptop to the university VPN I use putty to establish an ...
0
votes
2answers
29 views

Creating remote user to launch one file

Here is the problem: I have made something with python that works with virtually any OS, except windows, and I have been told the people who are going to evaluate/use/try it only have windows ...
0
votes
1answer
46 views

ssh authorized_keys permission denied only until file is listed/stat'ed - VERY STRANGE

Ubuntu 14.04LTS running openssh. I'm getting a Permission denied (public key) when I try to ssh in using my public key. /var/log/auth.log shows "Could not open authorized keys ...
0
votes
0answers
19 views

Making proxies on Debian

Hi guys I am trying to create SOCKS Proxies on my VPS and currently am not getting too far so any help is well appreciated. Here's a few details on my VPS: It is running Debian linux, has 512mb ram ...
1
vote
1answer
25 views

How to keep sshd alive on MAC OSX?

How do I keep sshd alive so I can connect at any point? I'm not trying to keep an existing SSH connection alive - I can't create it in the first place. Environment: Mac running OSX 10.9.3. ...
0
votes
1answer
35 views

How to recover SSH private key pair on OpenStack

I've been using a virtual machine on OpenStack, and I lost my RSA private key. Is there anyway I can get to access this virtual machine? Of course, without using the RSA key. I was thinking about ...
0
votes
1answer
22 views

Timeout with VNC connection from windows 7 to SLES10SP4

I'm having an issue establishing a VNC connecting to a SLES10SP 4 server using PuTTY on a Windows 7 workstation. Remote Administration is enabled in YaST, as are all the other appropriate settings. ...
0
votes
1answer
17 views

WinSCP has to constantly reconnect to my Ubuntu Server

I am on a Window 7 machine so I am left to using a tool like WinSCP to manage my remote servers which run Ubuntu. I do use a good old command line too but for file management I generally use WinSCP, ...
1
vote
3answers
31 views

SSHing into a Ubuntu VM instance

I have an Ubuntu VM instance running on my laptop. Both Host and VM run the same OS - Ubuntu 12.04. I tried to ssh from host like ssh username@<VM-IP> It tries for some time and then says ...
0
votes
0answers
21 views

JVM exception, server not responding, cant kill process with PID

My server did actually hang , now via ssh i cant kill the PID , or screen -x => hit 'stop' Java HotSpot(TM) 64-Bit Server VM warning: Exception java.lang.OutOfMemoryError occurred dispatching ...
0
votes
2answers
70 views

PuTTY remote command containing while loop

I am attempting to automate several common tasks that I SSH into a remote server to do. For this, I am using PuTTY and its "remote command" option (Connection > SSH) in several saved sessions. My ...
0
votes
1answer
26 views

Reattach to a process after ssh disconnect

I logged into the server using Putty/ssh started a process and walked away. Came back to find the putty session had timedout/terminated/become inactive. When I log back in the process is still there ...
0
votes
1answer
28 views

Debian 7.5 Prevents Access to Router, Hardware is OK

My Problem: I can't access my router from the Problem OS (Debian 7.5) of my main computer. I am sure the hardware is okay. It would be problematic to reinstall the Problem OS. Problem OS Symptoms ...
0
votes
1answer
78 views

How can I copy files from a Google Cloud Compute Server to my local machine

I'm trying to download all of the server files from Google Cloud Compute (running Linux Debian). I'm extremely unfamiliar with SSH and Google Cloud Compute as a whole. I'd prefer either copying all of ...
1
vote
1answer
19 views

Why does 'export foo=1' not get read when I use ssh?

I'm trying to set a remote environment variable explicitly in an ssh command: ssh worker-2 "export OPENBLAS_NUM_THREADS=1; echo $OPENBLAS_NUM_THREADS" Strangely, this prints just a blank line, but ...
0
votes
0answers
14 views

how to avoid the x terminal forwarding

I use our remote server along with a team. apparently they made all the apps automatically do x forwarding. I know this b/c now if i simply want to run a git command git pull I get this error: ...
0
votes
1answer
63 views

Jenkins Publish over FTP sending the entire site instead of updated files

I have a Jenkins server installed on my local server. I have managed to build artifacts from svn repository and deploy to a remote server using 'Publish over SSH' and 'Publish over FTP' but my problem ...
-1
votes
2answers
22 views

trying to login automatically into a server using sudo ssh cmd in script [closed]

I am new to Shell scripting. I want to login to a server using a script. The normal command I use is --> sudo ssh . when i tried putting this into a txt format file and tried running, it throw an ...
0
votes
0answers
48 views

Intermittent disconnections when using OpenVPN over SSH tunnel; possible iptables issue?

I've recently set up a Debian Wheezy server with OpenVPN to help out some friends in areas where internet censorship is a problem (including the blocking of VPN traffic in general). To overcome this, ...
1
vote
1answer
25 views

Can't disable SSHD banner

So, I have a WD MyBookLive NAS, which runs an ugly PPC build of Debian Squeeze. It has SSH access enabled, and when I log in, I get a long banner message (closer to an epic saga in length) about ...
2
votes
0answers
55 views

LC_LOCALE settings interactions between Mac OSX and LINUX via SSH

I have been struggling with the following problem for years now. I have never been able to solve it, and I adopted several workarounds to keep being able to work. However now I can't stand it anymore, ...
0
votes
1answer
29 views

Small bootable package to enable ssh client?

I've been trying to find the smallest possible package to put on a cd/thumbdrive that will allow me to use an ssh client on a wired networked computer. I'm talking about really barebones stuff, no ...
0
votes
0answers
15 views

SSH working, but SCP+git not working at all when network link is overloaded

SCP (and other programs that use SSH, like git) establishes a connection, but just sits there without doing anything. Using an SSH shell works fine. This only happens when the Ethernet network link ...
0
votes
0answers
18 views

PLINK.EXE: use blowfish as the cipher

Is it possible to use blowfish as the cipher of PLINK.EXE? For OpenSSH, the -c option can be used to specify the cipher, but how to do it with PLINK.EXE?
0
votes
0answers
40 views

Cannot ssh directly to a machine, but can ssh through another machine

I cannot ssh to machine A, it says No route to host. I can ssh to machine B and once logged in there I can ssh to machine A. How is this possible? (My machine and machine A run Ubuntu, machine B ...
0
votes
1answer
92 views

Warning: remote port forwarding failed for listen port on Centos 6

I have a problem with port forwarding in centos 6, when i do: ssh -v -R root@hostname:19999:localhost:22 root@hotname I get this warning: Warning: remote port forwarding failed for listen port ...
0
votes
1answer
24 views

Script for one time proxied firefox

I want to change firefox proxy settings on the fly (no, I will not be installing a 3rd party extension for this). I want to open up an instance of firefox without changing my default proxy settings. ...
0
votes
1answer
26 views

Putty, some bolded/color looks fuzzy/blurry

I'm not sure if this is supposed to be normal or what because I haven't used Putty in a while because I recently built a new development box. Of interest the graphics card is a R9 270X. Notice how ...
0
votes
0answers
17 views

Set up ssh proxy on windows in the background and on startup

Currently I can tunnel my pc traffic through SSH by setting up a simple ssh proxy connection using CYGWIN like this: ssh -ND 8080 myserver.com but this involves a GUI which I dont really like. In ...
0
votes
1answer
132 views

I broke SSH by using chmod on an EC2 Instance — How do I correct?

I have been running an Amazon EC2 Instance for a while, and recently accidentally changed permissions/ownership on folders recursively. I can no longer SSH into the instance. I do not recall what the ...
0
votes
2answers
28 views

CentOS send a command to another server with ssh

So basicly I need to send a command from one server to another. ssh root@address.com 'My command' But.. How do I specify the password? Thanks
0
votes
2answers
26 views

Restrict a user to SSH authentication with a key

Is there any possibility to restrict the password based authentication to a particular user in Solaris 10? The particular user should not log in with a password. Instead he should be able to log in ...
0
votes
0answers
46 views

WinSCP keeps giving “Host is not communicating” errors while PuTTY is all right?

It had been all right all day until a few hours ago when WinSCP suddenly started keeping giving out the hideous "Host is not communicating for more than 15 seconds. Still waiting..." error. I tried to ...