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
366 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
13k 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
249 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
399 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, ...
22
votes
2answers
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
32 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 ...
2
votes
1answer
565 views

Can I store multiple private keys in one Putty PPK file?

I have multiple accounts on a server, say for example red webadmin testuser At the moment I have private keys for these in separate PPK files. I have shortcuts to these on the desktop - so ...
1
vote
1answer
23 views

Translate SSH terminal input to X.org's?

I just had an idea that it would be nice to ssh on to my PC using my mobile phone and remote-control the keyboard by writing to the terminal, using arrow keys etc. A sample use case would be scrolling ...
2
votes
4answers
1k views

SSH: How to change value in config file in one command

How can I change the value of, let's say, PasswordAuthentication in /etc/ssh/sshd_config in commands? As well, remove a # in front of the "key" I wish to value. These don't all have to be in one ...
1
vote
1answer
111 views

SSH tunnel through a workstation to a remote server

I have a situation that similar to what is posted here but not quite the same. I have access to a remote machine A that I connect to from a machine B using a private key with a passphrase. I'd like ...
1
vote
2answers
3k views

MinGW MSYS ssh error: Could not create directory '/home/<username>/.ssh'

I have just installed a fresh MinGW installation on Windows 7 64bit using the Graphical User Interface Installer (the recommended approach) following the instructions given here and keeping the ...
0
votes
0answers
258 views

Why Chome Secure Shell SSH extension dose not work within iFrame

Secure Shell Chrome works fine for me, it's great! Now I'm trying to put in a desktop html using iFrame, but it does not work. It works well in separate browser window <a target="_New" ...
3
votes
1answer
272 views

SSH “reverse” ProxyCommand

Normally you have a setup like: Workstation -> Firewall -> Server Were your Workstation cannot contact Server directly, but has to use log in into Firewall first in order to contact Server. ...
0
votes
2answers
1k views

How do I disable SSH on boot?

I am using Ubuntu 12.04 server. Each time, after logging in, I am asked for the SSH passphrase. I would like to disable SSH on boot, just to use it when I actually need and I have tried different ...
0
votes
1answer
595 views

What's the quickest way to setup a socks proxy tunnel through ssh from Mac OS X?

Very often, I find myself on a network with poor international link or with access to certain websites blocked. I already manage several VPS with much better connection to the outside world, and I'd ...
0
votes
1answer
52 views

How to Scrollback in an SSH Session from OSX (remote) to Windows (Host)?

When I enter an ssh session using 'Terminal' I am unable to scrollback. Changing the scrollback buffer doesn't help. I have a MacBook so I don't have 'Page up/down' and using 'CTRL + A' doesn't work, ...
0
votes
1answer
390 views

How do I display directories in colour on remote systems over ssh via Terminal?

When I do ls in Terminal.app, I see that directories on my local system are in colour. However, when I connect to a remote cluster via ssh, ls output is no longer coloured. Is there a way to have ls ...
0
votes
1answer
546 views

Problems with network after using a socks proxy

I was playing around with SSH and trying to route traffic through my laptop. In the end I succeeeded, however I seem to have messed up my network. I only used ssh and played around with both -D and -L ...
0
votes
0answers
463 views

SSH behind a NAT enabled router errors

I have a Netgear router and I installed OpenSSH. When I try: ssh deadman@192.168.0.4 My ssh works fine and I am able to enter to the ssh terminal, but when I try it with a remote terminal like: ...
0
votes
1answer
29 views

Replicating Teamviewers Firewall Busting Capabilties for Standard Services

I love Teamviewers capability to bust through firewalls and gain access to a computer no matter where that computer is located. I am wondering if it is possible to achieve this same level of ...
1
vote
1answer
90 views

Setting up Debian server for remote backups

I am running a Debian Wheezy server at home, and am offering an organization to let them do rsync backups to their own folder on my system. I created the unique user for them, and got a strong ...
2
votes
1answer
620 views

How do I ssh-add a protected key to ssh-agent for my Jenkins CI instances?

I manage a Jenkins CI server running on Ubuntu 14.04 with a few requirements: Jobs make use of public/private key authentication for security, so an identity must have been added to ssh-agent prior ...
0
votes
5answers
201 views

How can I run `make` and retrieve the binary from a remote host without `ssh`ing twice?

I'm working on a project for which I don't have the toolchain configured on my own machine and I'm thus developing remotely. My workflow right now looks as follows: open the remote project directory ...
0
votes
1answer
149 views

Slow sftp for one user

Remote user across the country has latency issues transferring files over SFTP using filezilla client to access our shared filesystem (CentOS 6 machines running OpenSSH). One of twenty geographically ...
1
vote
1answer
248 views

Get network stream and forward it

I have a small problem with streaming from Raspberry Pi. I'm using raspberry Pi Camera and streaming output from it this way: raspivid -o - -t 0 -w 640 -h 480 | cvlc -vvv stream:///dev/stdin --sout ...
0
votes
1answer
32 views

How do I unpack .zip via FTP on Windows 8

I uploaded this .zip file using FTPRush to some FTP, now I need it to unpack, but can't figure out how. On FTPRush there's this command prompt when you click CTRL+R it's titled Send Raw Command to ...
0
votes
1answer
189 views

Linux Bash SSH - Why won't my port forwarding tunnel command work?

The commands I'm trying are: ssh -vxNn -L 8080:192.168.x.xx:80 hostname@server ssh -vxNn -L 8080:192.168.x.xx:80 hostname@server Where the "x" is masked for security as is the hostname and server, ...
0
votes
0answers
142 views

Cannot access srx220 router from browser

I can't access my SRX220 Juniper router from any browser. It hangs for a long time and shows a message like No data Received I can access it through cli prompt and can see the logs. All web ...
0
votes
1answer
34 views

Is it possbile to forward ports automatically via ssh from server

Is it possible to forward some ports automatically from the server (define in server sshd_config)? E.g. any user who connects will have particular forwarding rules regardless if he configured his ...
0
votes
2answers
1k views

Pass-through account login through WinSCP [duplicate]

I have a Linux server, where when I connect by PuTTY, I first need to log in using a non-root account (let's say user1), and then issue the command su root or su - root to log in to the root account. ...
0
votes
0answers
452 views

why does public key used to authenticate ssh seem to expire after a while?

I want to ssh from client to server without a password, so I append client's public key to server's authorized_keys. While previously I needed a password, immediately after I do the above, I don't ...
0
votes
1answer
101 views

Cannot jail ssh account using ChrootDirectory

I am trying to jail my accounts into their home directory. I tried to do: Match group accounts X11Forwarding no AllowTcpForwarding no ForceCommand internal-sftp ChrootDirectory %h ...
0
votes
1answer
60 views

ssh possible dns spoofing when logging into multiple machines via single host [duplicate]

I log in to the rhel5 machines at my school from home via ssh and it automatically sends me to the computer with the least load. So ssh -Y itsme@myShcool.edu will send me to either mySchoolA.edu ...
1
vote
1answer
369 views

sequential SSH command execution not working in Ubuntu/Bash

My requirement is I will have a set of commands that needs to be executed in a text file. My Shell script has to read each command, execute and store the results in a separate file. Here is the ...
1
vote
3answers
1k views

how to copy text from linux to windows when using putty ssh to linux?

when I select a text and right click in an putty session to linux terminal, it echos back the selected test to terminal and then copies to clipboard, how can I prevent the copied to clipboard test to ...
0
votes
1answer
428 views

How do I fix these iptables?

I am trying to setup my networks firewall, and am having trouble because i keep getting kicked out of SSH because of mistakes. Here's what I currently have: # Custom Rules iptables -F iptables -X ...
0
votes
0answers
288 views

Android SHH tunneling through school Wi-Fi

Ok so I'll try my best to explain the situation at hand here. My school recently got a new web filter that blocks literally, everything. I can't use Google Drive or anything that I need anymore. Our ...
0
votes
1answer
913 views

ssh over VPN to ubuntu server

I have remote server(ubuntu server). I access remote server by ssh as ssh root@IP_OF_SERVER, then I have setup a webapp running in server and access it by IP_OF_SERVER:80. Every thing is working fine. ...
0
votes
1answer
126 views

ssh between cygwin and debian wheezy

I am trying to connect desktop(win7 x64) and note (debian wheezy x32). Made standard install of ssh cygwin and debian. Created pub-key and moved via usbflash it to ~/.ssh/authorizwd_keys and to ...
1
vote
2answers
4k views

Cannot convert ssh.com key to ppk format using Puttygen

I am having issues converting a private key from ssh.com format to putty format. Upon importing of the private key, I am met with the following error. Couldn't load private key (key does not begin ...
1
vote
2answers
46 views

Should I set up SSH or a VPN?

I currently RDP to my home PC using a secure SSH tunnel. It works well but I would like to try to set up a VPN. My understanding is that if I connect to the VPN from a remote PC, all the traffic of ...
0
votes
1answer
459 views

vim editor full screen in putty

I am using putty to connect to my linux server and if I open any files with vim or vi editor the editor margins are getting limited, whereas the same full screen is coming if I open in XTERM. My ...
1
vote
1answer
778 views

Bitbucket ssh Read from socket failed: Connection reset by peer

I'm using ssh to access git repository on bitbucket.org. Suddenly I can no longer connect to it. Haven't installed anything or did any changes to the settings. $ ssh -v git@bitbucket.org ...