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

learn more… | top users | synonyms

1
vote
1answer
402 views

ssh 2 different computers behind same router and modem?

well I have been following every rule out there on Forwarding. I currently have 2 computers, lets call it Computer DOG and Computer CAT. I can ssh into DOG from outside my network perfectly. I went ...
1
vote
1answer
124 views

Is there a way to check if wireless network allows ssh connection?

I am at the public library currently using a mac book and I am trying to SSH into my server. I am normally able to do so in other places that are not on my local network, but I am not able to here. ...
0
votes
1answer
525 views

How to share my puTTY SSH tunnel with another computer on LAN

I have SSH running on my home tomato router and connect to it successfully. I'm at a client and want one of my co-workers to be able to access a resource I have there and I tried having him connect ...
1
vote
2answers
281 views

SSH Connection refused wrong port

I want to connect to remote server through Ubuntu shell. I am using ssh root@serverIP in Ubuntu shell but I receive this msg: connect to host xxx.xxx.xx.xx port 22: Connection refused This IP is on ...
0
votes
1answer
154 views

Reverse SSH Tunneling Question [closed]

I'm somewhat confused on reverse SSH tunneling and I'd really like someone to help me out. My Goal: I'd like to create a physical backdoor to a network using a BeagleBone Black (or RaspberryPi or ...
0
votes
0answers
265 views

SSH tunnel through Android

I've been having some trouble with SOCKs proxies and Windows. Currently I have mapped my local port 22222, to my ssh server at home. When I configure my browser to manually push all traffic through ...
0
votes
2answers
293 views

Can a client server host multiple private ssh key for same profile?

I have a client who is using Tectia Client to connect to our UAT. They created a ssh pair and imported the private key to the profile they are using to connect,and passed us the public key. Now we ...
1
vote
1answer
391 views

How to create simple read/write login to specific folder on Linux server? (ftp/ssh/other..)

I've got a simple Ubuntu (14.04) server. I now want to give ftp or ssh access to a specific folder to a friend of mine. Either ftp or ssh would be fine, I'm just after a quick setup. The problem is ...
0
votes
5answers
146 views

History in bashrc on login vs manual sourcing - clearing and loading

I use a bunch of different aix machines at work and need to share users with co-workers. To make my life easier but not bother others with my customizations, I have created a .bashrc file that I copy ...
0
votes
1answer
201 views

VPS - Lost password and can't use blank pass via remote desktop connection

I am currently trying to login to my dedicated server, and have forgotten the password. I've tried many different things, and currently have SSH access. I boot the dedi into rescue mode (For the SSH) ...
0
votes
0answers
227 views

way to detect ssh client disconnection

How I can detect when a SSH client disconnects from my server? If the connection with the client is interrupted (the client doesn't send the disconnection command), my server application receives ...
4
votes
1answer
628 views

SSH suddenly asking for password

Note: this is a duplicate of this StackOverflow question, since ali786 suggested it would be better here. General problem I have my computer (Mac OSX 10.9.4) and a remote server (Ubuntu 14.04.1 LTS) ...
-2
votes
2answers
156 views

When I ssh just using the IP address, it port forwards directly to a specific computer

well, I have 5 computers and today, I set up ssh. I used port forwarding to lead to my 192.168.1.10 xbuntu. I have 4 other computers on the network However if I were to just ssh to my public IP that ...
0
votes
1answer
125 views

get current terminal display text from another terminal

I've started a job in a terminal that will print some data to the screen that I need. I know I should have used screen or told the terminal to log to a script but I did not. Also, I do not have the ...
0
votes
1answer
138 views

Trouble Installing SSH with Cygwin

I'm using Cygwin (or more specifically zsh installed via Cygwin) and I've installed all of the ssh packages including Net/openssh, but when I try to run ssh (or things like ssh-host-config) I get: ➜ ...
0
votes
2answers
339 views

Effective bandwidth for SMB/SSH file transfers over a wireless/ethernet network

I have a Windows (7) machine A connected by 802.11n to a router, and from there via Ethernet 100Mbps to a Linux machine B running SMB and SSH services. I'm copying a large file from B to A, using the ...
14
votes
6answers
3k views

Alternative to SSH command line from Ubuntu

We have a machine at work that's running CentOS. In order to get into it, I use ssh. We're not allowed to install any window-management systems on it. Sometimes, I need to do a lot of work on it, ...
0
votes
1answer
254 views

how to ssh to home computer from outside

I have ubuntu machine at my home where i have Time Warner internet connection. Sometimes I want to connect to my home computer when I'm outside but unable to. What IP address should I ssh to? Do I ...
0
votes
1answer
67 views

Can I mount my local (OSX) directory to a remote linux host during my SSH session?

I spend a lot of time using SSH. While using Vagrant, I've found that having a shared folder between my local machine and the guest that I can access from the guest really makes life easier. Is ...
1
vote
3answers
733 views

use windows version of cisco vpn client on linux and osx

I have tried wine, but it crashes before finishing the installation. So I switched to virtualbox, installed the cisco vpn client there, and ssh into the guest win7 os. My question is: Is there a ...
0
votes
1answer
124 views

Bash script via ssh does not have $PATH

I'm trying to run bash script via ssh. To do this I run command: ssh me@server 'bash -s ' < script.sh The problem is that when I run script like this I don't have my $PATH variable (i.e. if I ...
1
vote
1answer
498 views

Git post-update hook not working properly

If I push to my remote origin repository the post-receive hook should push all to another remote repository on another machine. When I push to my origin the post-receive hook gets triggered but I ...
1
vote
1answer
52 views

How to create SSH Key for git user

If i want to syncronize my remote origin with another remote repository i will have to register a post-update hook. But I will need an ssh key for that. Because my origin repo is owned by git user, ...
0
votes
0answers
96 views

VNC over SSH, Running into Trouble. Used to work fine

Hey GUys having a bit over trouble with tunneling VNC over SSH. I had it working fine in the past, but I went to try again and after reviewing my notes, Superuser, and a few guides it just wont work....
1
vote
1answer
353 views

How to save files from remote server

I am not sure if this question belongs here, so feel free to migrate. I have some files on a mail server(I am not sure how this works, but I can access these from the Linux terminal by ssh-ing the ...
0
votes
2answers
157 views

SSH public ip not working

I am able to SSH locally into MAC OS X on standard port 22. But when I try to SSH via public ip I get connection refused. I have forwarded port 22 on the router to MAC OS IP. When I run nmap local-...
0
votes
0answers
94 views

How to configure SSH tunnel with same intermediate/end server?

I have read this question on SuperUser and the SSH section of the Debian handbook, and I am trying to do something similar. But there is a slight complication in that I really only have two servers in ...
1
vote
1answer
62 views

How to work with Windows through Linux?

I have to work with some remote Windows machines in a project, I also need to check for logs and find fixes for some bugs and things like that. But honestly, I don't like to use Windows to do this ...
0
votes
0answers
286 views

ssh into localhost - password for private key

My goal is to be able to ssh into localhost on my remote linux machine (Ubuntu 12.04 LTS x64). I have a private key that on my local Windows that I use in putty to access that remote machine. On the ...
0
votes
1answer
88 views

Why does SSHTools SSH/SFTP server use another port to listen to server commands?

SFTP usually listens on port 22. But then I found an SFTP tool (SSHTools) that uses a command port to listen "for server commands such as stop". Why not make the server listen for the stop command on ...
1
vote
2answers
144 views

SSH Alias prompts passcode authentication but direct SSH works

I'm trying to SSH into a server on which I have sshd running (let's call it me@server). I set up ssh keys by using ssh-keygen -t rsa to create the key and then I ran cat ~/.rsa/id_rsa.pub | ssh user@...
0
votes
0answers
110 views

Using SSH only & not SCP

I am trying to make a script to backup Netscreen Firewall config with following code: plink -ssh -pw %%C %username%@%%B get config > "%DESTDIR%%TIMESTAMP%\%%A.cfg" Where "get config" is the ...
2
votes
1answer
1k views

Use custom SSH authentication mechanism (OpenSSH)

I have a collection of servers (Debian/Ubuntu) for which I need to create a custom ssh authentication mechanism. I found a couple of 'same-ish' examples for reference with Duo and Authy. They are ...
0
votes
3answers
104 views

How to run a bash on a server in background?

I want to run a bash script on a server in background? I know I can use ssh to run a script, but the script may last for a long time, so can I run it in background? If so, how to do this?
1
vote
1answer
1k views

SSH into Synology DSM 5 without password

I can ssh as root and as admin but not as a non-admin user. Here is a log of an attempt: % ssh -vvv -i ~/.ssh/diskstation-rsync-key hughdbrown@192.168.2.130 OpenSSH_6.6.1, OpenSSL 1.0.1f 6 Jan 2014 ...
0
votes
1answer
62 views

Source host doesn't have access to Internet, but can SSH to host that has; how can I rsync to a third, Internet host?

This is the command I used to run from my SOURCE machine rsync -Rrlt --progress --delay-updates ./my_folder root@machine-on-same-network:/home/me/. Now I need to copy over this same folder to a ...
1
vote
1answer
35 views

Can't ssh to server when the ~/.ssh/environment is error

I changed the ~/.ssh/environment on my server, but there seems something wrong, so I can't login with ssh. So, how to solve this? Can I disable loading the environment file? When I ssh to the server, ...
1
vote
1answer
54 views

Algorithm based SSH authentication

I am investigating possible solutions for our company server access. The company distributes linux servers, some end up having public IP's accesses others are isolated on private networks. The problem ...
1
vote
1answer
2k views

Commands over SSH not producing output

I am executing the following in Unix terminal: client$: ssh host "cat foo.txt" and expecting the file output and ssh connection to be closed i.e: bar client$: What is actually happening is that ...
2
votes
1answer
8k views

copy file from network device to local computer from SSH via TFTP

Network device (embedded Linux OS, SSH-enabled) connected to local computer (Windows OS). What is SSH command to copy binary file from network device to local computer via TFTP? Also, what's command ...
0
votes
0answers
291 views

Run GUI programs through SSH without window manager on host

So, I have a Raspberry Pi running Arch Linux ARM. I don't have a window manager on it as it's not exactly powerful, however I was wondering if it would be possible to SSH to it from another computer ...
5
votes
1answer
251 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
1answer
291 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. ...
2
votes
0answers
914 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, ...
2
votes
0answers
1k 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 ...
3
votes
2answers
8k 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. ...
1
vote
1answer
153 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
27 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
564 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 ...
2
votes
2answers
149 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: ...