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

learn more… | top users | synonyms

0
votes
2answers
63 views

Login to linux box with putty using public ssh key

A hosting provider sent me a public key and the hostname of a linux box which I want to ssh into. Now usually, I simply input the hostname in putty and then type username and password, but now I just ...
0
votes
0answers
166 views

Very strange behavior when I try to connect using SSH. Why it works only if I copy and paste the IP address?

I am experiencing a very strange behavior. The situation is the following one: I connect to my RaspBerry Pi from my Ubuntu Linux 12.04 using SSH So I do the following operation: I go into my router ...
0
votes
0answers
291 views

Can't sudo when logged in with ssh

I set up a ubuntu machine on my local server. I've got a user with sudo privileges (same password as for login). I've got passwordless ssh going by putting my rsa public key on the ubuntu machine. So ...
0
votes
1answer
248 views

Regaining access to Linux server after SSH service dies?

I recently ran into an issue with a VPS where the SSH service crashed, leaving me unable to connect to the machine. The other services were up and running; only the SSH service died. I managed to ...
1
vote
1answer
261 views

Why fabric can connect to remote host immediately while normal connecting needs to wait 20 seconds?

I'm using a remote hosting service. Everytime I connect to it. It costs me 20 seconds or more to wait for the password input line prompt out. But today I used python fabric module. I set the host ...
0
votes
1answer
109 views

ssh-agent on ubuntu rapidly restarts

I am attempting to use ssh-agent on Ubuntu 13.10 so that I will not have to enter my passphrase to unlock a key every time I want to use ssh or git. As you can see below, ssh-agent appears to be ...
0
votes
1answer
563 views

Unable to SSH into remote server with defined user & keyfile

This one is just bugging me, I can ssh in as USER when I am using USER account ie: USER@SERVER$ ssh -v USER@ip-SERVER2 logs in just fine if I try and use USER2@SERVER$ ssh -v USER@ip-SERVER2 ...
5
votes
1answer
5k views

Why can I not connect to a reverse SSH tunnel port remotely, even with GatewayPorts enabled?

I require constant SSH access to a host in our department, whose IP address is dynamically allocated. I've set up a remote SSH tunnel from the target host to one of our hosts that does posess a static ...
5
votes
4answers
834 views

Linux graphical alternative to WinSCP tunneled connection

Is there a Linux or multiplatform software with GUI that allows you to browse and download files from a server behind a SSH tunnel (this is a winscp example)? |client|----ssh----|gateway|-----ssh-----...
1
vote
1answer
154 views

Can 'at' command keep on working after ssh connection broke?

I'm using ssh to connect to a remote server. And I execute at 03:13Jun12 -f t.sh would the remote host run this 't.sh' at 03:13 Jun 12 even if I broke this ssh connection? ( Assume the remote host ...
0
votes
1answer
31 views

Password stretching in PuTTY

Does PuTTY use password stretching when passphrase protecting my SSH keys? If it doesn't by default, how can I make it do so?
0
votes
0answers
51 views

show dynamic ssh tunnels on server

SSH offers a cool feature via -D option to create dynamic destination tunel over ssh connection. Is it possible for me as a server admin (e.g root) to get a list of these tunnels that users created ...
1
vote
1answer
78 views

verify public key on Ubuntu

How can I verify if a ssh public key is successfully installed on a Ubuntu server? I'm trying to unable continuos deployment and to do so I need to install the public key I got from codeship on the ...
0
votes
1answer
105 views

Pull Couchbase database over ssh from remote server

I am working on a Debian environment and I have to pull a Couchbase database from a remote server location into my local Dev environment. I wasn't able to find any kind of details on this topic so ...
1
vote
2answers
237 views

How can I graphically open and display file at the client end in Linux over SSH connection?

I am using the xdg-open file-name command to open and display file at the user end, but can't graphically open and display file at the client end in Linux over SSH connection. So please help me to ...
0
votes
1answer
394 views

Can I fork a copy command on ReadyNAS SSH?

I have a ReadyNAS 102 with a couple of USB drives attached, and connecting to it from a Windows 8 machine over SSH. There were times I wanted to copy files between volumes on the NAS. Unfortunately I ...
0
votes
2answers
360 views

Port Forwarding a Specific Port (e.g. 22)

I'm still confused about establishing an SSH connection (port 22) between two computers on different internal networks. For example: I am on my computer with internal IP address IIP-1, connected to ...
0
votes
1answer
565 views

allow SSH to bypass VPN on OSX mavericks, openvpn, pf

My home computer connects to the internet through an OpenVPN connection. However, I would like to be able to connect to my home computer from outside over ssh. Ssh is set up and working, but when I ...
0
votes
1answer
56 views

What is the public key file that is generated by PuTTY?

If I'm using the PuTTY key generator to create a public/private key pair, there is a button to "Save public key" like so: However OpenSSH doesn't accept the format of this public key file, at least ...
3
votes
1answer
754 views

multiple ssh aliases selecting wrong user when forwarding

I'm following the dual identity procedure for bitbucket: I have 2 bitbucket accounts ccmcbeck and chrisbeck. The former is personal, the latter is work. On my local Mac, I have this in my ~/.ssh/...
6
votes
2answers
1k views

Can't open an SSH session because of OpenSSL version mismatch

I just ran apt-get upgrade, and according to /var/log/apt/history.log, openssl has been updated to version 1.0.1e-2+rvt+deb7u7. Now I have one SSH session still open, but I can't open another one. I ...
0
votes
0answers
2k views

Can't git push to Bitbucket.org — with ssh keys

I'm running doku-wiki on may (Ubuntu) laptop for some note taking. So, to keep backup, I was using Bitbucket and periodically pushed my wiki files there and everything worked smoothly. (a) Some time ...
0
votes
0answers
154 views

ssh_exchange_identification after few attempts

To help find diagnose a ssh issue with a gitlab server, I've written the following script #!/bin/bash while : ; do ssh -v git@example.com || exit 1 done After few successful iterations (...
2
votes
2answers
466 views

how to speedup ssh-keygen

We are using beaglebone based custom board. In one of the init script we are generating ssh keys but it takes around 7 seconds to generate the ssh-keys. How do we speedup the process of generating ...
1
vote
1answer
625 views

Process killed on ssh disconnect despite screen/nohup

I am facing a rather strange situation: ssh to a beaglebone (details : uname -a = "Linux beaglebone 3.2.34 #1 Wed Nov 21 14:17:11 CET 2012 armv7l GNU/Linux", ssh server : Dropbear sshd v2012.55) ...
0
votes
1answer
398 views

Issues connection to Ubuntu via PuTTy

I'm not sure this is the appropriate stack exchange site to post this question on. If not, please flag this for migration. I am trying to use PuTTy ssh into my ubuntu machine which is wirelessly ...
0
votes
2answers
240 views

Restrict SSH access for one user of accessing machine

I have two virtual machines VM1(Ubuntu) & VM2(Debian). VM1 has a single user "admin" & VM2 has two users "test1" & "test2". What I want is that only test1 was able to access VM1 through ...
1
vote
1answer
216 views

why does “ctrl+a+d” exit ssh session?

I use ssh to connect to a remomte linux machine. I opened two virtual screens using command screen. Then I notice from screen -ls that I'm attached to one screen. Thus I input ctrl+a+d in order to ...
0
votes
1answer
80 views

rsync per-site configuration file?

I know how to configure a per-site entry for ssh, but is there any kind of a client configuration for rsync that allows per-site configuration options and aliases or similar shortcuts like the .ssh/...
2
votes
2answers
697 views

How to forward a port to another server connection via SSH

I think what I am trying to do is called SSH Tunneling. I am a bit confused if this is actually what I want to do. I want to setup a tunnel on port 1234 on Server A. Server A forwards all ...
3
votes
2answers
709 views

Is there any way to abstract IP address during ssh?

I have a server which is in the middle of a forest. It is connected to the Internet via a microwave link and an ADSL link.Hence it has two different static IP addresses. Now if there is heavy rain, ...
1
vote
1answer
344 views

Bitbucket SSH and iptables

I'm a newbie in iptables to be honest. I have some basic rules. Everything is blocked by default. iptables -t filter -F iptables -t filter -X iptables -t filter -P INPUT DROP iptables -t filter -P ...
2
votes
1answer
928 views

rsync to windows (cygwin)

We have a windows file storage (don't ask) and now I want to rsync with the machine from Windows, Mac and Linux. So I installed freeSSHd (login shell is set to C:/cygwin64/bin/sh.exe), set up ...
0
votes
1answer
78 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 ...
0
votes
1answer
676 views

Port forwarding spotty through Arris TG862G/CT

I am set up with Xfinity using an Arris TG862G/CT as our modem/router device. I have set up port forwarding through the router and it mostly works except for two problems. Reverse proxies with ...
0
votes
1answer
550 views

Telnet into a linux machine using an RJ45-RS232 cable

my linux machine doesn't have a RS232 port, only an RJ45. I also have my grandpa's old pentium machine running windows 95 that has an RS232 port. The only means of interfacing these two computers are ...
0
votes
4answers
2k views

Remote into Linux workstation behind a firewall using NoMachine or other remote desktop service

My question is very similar to this question: Remote into Linux workstation behind a firewall My work has firewall and ssh server. The ssh server is listening to the default port 22. Normally I don'...
1
vote
1answer
379 views

SSH reverse tunnel to monitor and manage remote devices

I have a set a distributed set of devices running Ubuntu 12.04 that I am distributing to clients. I would like to manage them remotely. They may not have fixed IPs and potentially might be behind ...
0
votes
1answer
69 views

Mac OS X set terminal name that persists after SSHing somewhere else

I try advice like this that recommends adding the following to your .profile: function tabname { printf "\e]1;$1\a" } So you can type tabname brokenbox to name your tab. The problem is as soon ...
4
votes
1answer
15k views

Forgot password to id_rsa [duplicate]

I forgot the password to my ssh. I am planning to remove the files (id_rsa, id_rsa.pub and known_hosts) in the directory and starting from scratch. I haven't been using ssh since the whole heartbleed ...
2
votes
1answer
3k views

How do I change the .bash_history file location?

I'm running CentOS 6.x and want to move the .bash_history to a different location. The home directories of my users are (because I run a VPS) in /var/www/vhost/<domain>.<tld> which is FTP ...
0
votes
2answers
273 views

SSHing thru an HTTP proxy

Typical scenario: I'm trying to SSH thru a corporate HTTP proxy to a remote machine using corkscrew, and I get: ssh_exchange_identification: Connection closed by remote host Obviously, there's a ...
2
votes
2answers
1k views

How to set up password-less SSH for all users

I can set up password-less SSH for a single user by doing the following: 1) Generate RSA key pair for the local machine in ~/.ssh 2) Copy the local machine's public key to the remote machine's ~/....
-1
votes
1answer
414 views

How to allow ssh access to a folder of another user

Let's say I have a user 'user1'. This user has a special directory which can be accessed by another user ('user2'): /home/user1/directory How can I allow ssh/sftp access for user2 only to this ...
1
vote
1answer
2k views

Why I can't use wget command in SSH shell?

I have the following problem. I am using my RaspBerry (with RaspBian installed) by SSH. My problem is that I can't use wget command because it fails. For example if I try to execute the following ...
0
votes
0answers
26 views

passphrase for rsa key required only in text mode

I have a problem which has been torturing me. As far as I booted Ubuntu to the GUI, it never asked for the passphrase of my RSA key. Lately, I switched to text mode and now, each time, after log in, ...
24
votes
3answers
3k 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
2answers
8k views

Command-line access to remote MySQL server

I administer a website on a remote, shared host. My web host offers MySQL, and I am able to access this from my Mac OS X computer using a GUI program, Sequel Pro. That works great. But I want to ...
0
votes
1answer
39 views

Run login script anytime I login on a cluster via ssh

I would like to know how can I write a login script restricted just to a certain environment. To be clear, I need a script that runs certain commands only when I remotely access a computing cluster ...
0
votes
0answers
33 views

Network Ubuntu Server - Ubuntu Client

I'm new about Ubuntu server and Linux networks. I want to use Ubuntu Server for sharing folders, but especially to work in a team to develop software. If possible I would like that client can ...