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

learn more… | top users | synonyms

102
votes
4answers
96k views

What's the difference between scp and sftp?

Usually, I use the scp command to transfer files on *nixes. What's the difference between SFTP and SCP? Don't they both work on SSH?
0
votes
0answers
7 views

List of things to mind when browsing through ssh socks proxy securely?

I'm using firefox with foxyproxy and I noticed that, if I'm not mistaken, foxyproxy will BY DEFAULT attempt to resolve all DNS locally, which of course to my great dismay, defeat the entire purpose of ...
24
votes
3answers
63k views

scp'ing using key file as a parameter, How can I do that if possible?

scp -i ~/.ssh/id_rsa.pub events*$date*_QA.log $remote_user@$remote_server:$remote_location Is the aforementioned script incorrect? Am I not doing it correctly? I went to the .ssh directory and saw ...
1
vote
3answers
23 views

How to stay logged in via SSH to a Synology Server?

How do I stay logged in continuously to a Synology (custom Linux) server via SSH? I am trying to get a program to run continuously on the server but when I close my SSH window from my own computer, ...
1
vote
2answers
43 views

I cant ssh into intel content access point from macbook terminal

I am trying to ssh into the intel content access point with ubuntu 12.4 installed on it from my macbook air, but i get the following errors: ssh: connect to host 192.168.88.1:22 port 22: Operation ...
0
votes
1answer
18 views

Cannot install SSH server on Debian Jessie

I made a fresh install of Debian today and now I am trying to install the SSH server so i can connect to the machine remotely. When I do apt-get install ssh it shows me that packages cannot be ...
0
votes
1answer
22 views

High cpu usage by 'root' in Ubuntu VPS server

My server was working fine until last week. But I don't know how someone have changed by ssh root password. After that when I checked the CPU usage, it always 160-190% on executing 'top' command. Some ...
0
votes
0answers
7 views

SSH operation time out // virtualbox // ubuntu 14.04

I can't get my SSH to work. In verbose mode i get this(look down). The server is ubuntu 14.04. The laptop that i use to connect to the ubuntu server ssh is a osx macbook air. Evan:~ gebruiker$ ssh ...
0
votes
0answers
14 views

How can I logon to another machine when opening a new termial, without causing the process to start looping?

So, when we login to the Red Hat machine we normally develop on, we have to go via another machine due to security reasons. The idea I had was to create an rsa key and connect to the next machine ...
0
votes
1answer
26 views

Bitvise SSH Server putting extra spaces in session

I am using Bitvise SSH Server on my Windows machine for remote access. The login shell is ZSH, and I am using Oh My Zsh with it. However, I have also tried BASH and got the same problem. Therefore I ...
1
vote
1answer
14 views

Installing parallel-ssh on python2.7

I am trying to install parallel-ssh on python2.7. My use-case for using this is to make an ssh connection run in parallel and not let it block further execution of a python file. I used the following ...
1
vote
0answers
9 views

Raspberry-pi remote connection using putty, GUI not working

On my Client PC I’m running Windows 8.1 and I have installed XMing. I am running Putty and I have configured it to enable X11 Forwarding. I have tried leaving the X display location blank (as default) ...
1
vote
2answers
31 views

FreeBSD SSH terminal windows

When I run a ncurses-based tool, say nano, in a Linux/OSX SSH session and then close it, the terminal session is back with the history and everything. But if I start nano in a FreeBSD SSH session and ...
19
votes
2answers
7k views

Why does ssh X forwarding timeout after a while?

So I have a mac at work which I like to ssh into my linux box with something like this: $ ssh -Xt user@mylinux I can login and start any X11 apps on my linux box no problem. But after 15 minutes ...
0
votes
0answers
23 views

ISP blocks PPTP. Forward PPTP traffic using external node?

Given: Remote VPN PPTP server on work that i need to connect, and which, obviously i cannot configure. Me, at home with ISP which block GRE traffic. external linux VDS (ubuntu server) on which i can ...
1
vote
0answers
10 views

X forwarding freeze after source server is restarted by watchdog

I am currently working on an issue with the Xforwarding of a QT application over lan. Our source server is forwarding the interface of our application using the command "screen -dm" to a client ...
1
vote
1answer
21 views

Connect trough Cygwin without being asked for password

I'm trying to connect to a remote machine using Cygwin, the connection is successful problem is that it always asks me for the password. ssh -i ~/.ssh/id_rsa -o "StrictHostKeyChecking no" ...
8
votes
3answers
15k views

How can I use SSH with a SOCKS 5 proxy?

I don't know much about proxies in general, and especially not SOCKS5 proxies, so sorry if this is a newbie question but I haven't been able to find the answer online or in the man pages. I have a ...
0
votes
2answers
5k views

sftp limit user to directory

I need to limit sftp for a user to a certain folder. So far I have followed this tutorial to the letter: http://shapeshed.com/chroot_sftp_users_on_ubuntu_intrepid/ It works in the sense that I can ...
0
votes
2answers
4k views

FTP Not Connected - Can't input user credentials

I'm trying to download a file from a Linux server via FTP from Windows command line. I've successfully downloaded the file with FileZilla (same server, same file), but I want to do it in cmd.exe. ...
0
votes
0answers
31 views

Permission denied when I try to ssh into server

I'm having an issue when I try to ssh into my server with a private rsa key. I'm getting a permission denied error followed by a "Too many authentication failures for [user]". Note: The rsa key ...
0
votes
0answers
20 views

Chain several ssh tunnels

I'm new on this forum. I have the following configuration: my_computer gateway1 gateway2 host_to_reach. I can access gateway1 only with an ssh tunnel which has been created by a server where I ...
0
votes
0answers
13 views

what to do when I forgot my master password on smartgit?

I'm using SmartGit 7.1.3 for take care of a github repository. I put a master password on the smartgit when I was setting the repository. Next I forgot my master password then I didn't sync with my ...
9
votes
3answers
7k views

How to copy a sparse file using scp?

Do we have any option in scp that I could copy a sparse file ? The following command works with ssh, But I am looking for an option in SCP which copies a sparse file. tar -Szcf - /home/myself/test/ ...
0
votes
0answers
33 views

Is it possible to connect to the Subsystem for Linux in Windows 10 using SSH

Now that Windows 10 has the Windows Subsystem for Linux is it possible to connect to it remotely via SSH? With the Bash shell up and running I tried connecting Putty (running on the same Machine) to ...
51
votes
1answer
50k views

Where does Putty store known_hosts information on Windows?

How do I tell if Putty already knows about and has cached credentials for specific ssh servers? Another way to ask this question is what is the Windows/Putty equivalent of a unix/ssh known_hosts ...
0
votes
1answer
8k views

What is causing PuTTy to not connect to Raspberry Pi?

I have a Raspberry Pi, and I have an SD card with Rasbian on it that is currently in the Pi. I have a laptop with Windows 8.1 on it, and I have connected it to the Pi using an Ethernet cable. I want ...
15
votes
2answers
3k views

How to prevent clearing of terminal output when I “exit” an SSH session?

This is the situation: I open a terminal in Ubuntu, and do ssh host-1, which works as expected. From host-1, I do ssh host-2, which again works fine and connects me to host-2. From host-2 I do, for ...
4
votes
2answers
227 views

When I encrypt a message with my public key, can I read it with the same public key?

On a process that is using asymmetric encryption(such as ssh), when I want to send a message to someone using my public key, can I decrypt and read this message with my public key (the same that I ...
1
vote
1answer
38 views

Remote port forwarding failed using freeSSHD + PuTTY

Background: I have 2 machines, A is a server, and B is a local machine behind the firewall. B has a SQL Server hosted at port 1433. Now I want to access the SQL Server from A. Steps: Set up a ...
0
votes
0answers
9 views

Issue tunneling through an ubuntu bastion server

I have a bastion ubuntu server set up to tunnel traffic inside AWS to a Windows server on a private subnet. The AWS security group allows port 22 traffic, and all outbound traffic. The private ...
17
votes
5answers
15k views

http proxy over ssh, not socks

The question is simple, but the answer is not : ssh -D 8080 user@host or ssh -gCNf -D 8080 user@host or wathever with -D # I need a kind of proxy that i can use with http_proxy variable, ...
15
votes
4answers
31k views

SSH key asking me for a passphrase?

I have a public/private key pair. Neither of them have any sort of passphrase associated with them. Whenever I try to ssh using either the private or public(and I'm pretty sure I should only be ...
0
votes
2answers
28 views

Cannot ssh to localhost using key

I have set up an ssh key and want to connect to localhost using key only, without password (note: this is just a test; ultimately I want to connect to an internal git server, where the same problem ...
6
votes
8answers
5k views

loading local shell aliases to ssh session dynamicaly

When I log in to some machine using ssh I wish my aliases and functions are there. In other words, log in to some machine I wish I can use my command shortcuts. I need it be dynamic, every time I'm ...
0
votes
1answer
16 views

Is my GPG key the same as my public key?

I'm trying to set up pass on OSX. The installation instructions say to run: pass init "ZX2C4 Password Storage Key" But I don't to my knowledge have a GPG public key. Do I need to set one up? I ...
1
vote
4answers
4k views

Remove all Mac generated files '._' with bash

I'm trying to find the command to delete recursively all Apple Mac generated files such as '._' from the drive. So far I have: find . -name '._*' -exec rm -rf {} \; however it doesn't seem to do ...
0
votes
1answer
14 views

SSH from Mac (host) to Virtual Machine running Windows 10 (guest)

I'd like to SSH into my virtual machine to "remotely" edit some files. I'm running Mac OS X (host), and the VM (on VMWare) is running Windows 10 (guest). Is there a way of achieving this? What do I ...
0
votes
1answer
25 views

plink SSH via proxy

I can use putty to ssh to a server via my company's corporate proxy. The two forms I fill out are session: and proxy Where the proxy is a HTTP proxy requiring username and password. What is ...
1
vote
0answers
13 views

About using sshfs as multi-user file system (different hosts) and potential problems

I have a large online storage for backups which I mainly access through sshfs. Since I am using encfs for encryption (I know about the security concerns but even weak encryption is better than no ...
49
votes
17answers
84k views

Map remote drive in Windows over SSH

Does anyone know of a good (hopefully free) tool that can be used to map a Linux server accessible over SSH/SCP as a Windows network drive? EDIT: SFTP not supported EDIT2: Windows File Sharing/Samba ...
0
votes
0answers
15 views

Unable to connect CVS repository from eclipse

I am getting error while connecting to CVS repository from eclipse running on Windows 7. I am connecting using ext method. Below is the error I am getting: Could not connect to ...
207
votes
10answers
191k views

How to tell git which private key to use?

ssh has the -i option to tell which private key file to use when authenticating: -i identity_fileSelects a file from which the identity (private key) for RSA or DSA authentication is read.  ...
5
votes
3answers
4k views

Putty->Cygwin X11 Forwarding “Can't open display” Error

I am using Putty on a Windows machine to ssh into another server. Once there, I am trying to use X11 forwarding to pop windows onto my computer. The remote system is not the issue since it is a large ...
0
votes
0answers
18 views

Putty Connection with local proxy command

I've got one public server with mydomain.com and some raspberry pi project. I use autossh to create a reverse tunnel from the pi to mydomain.com. So port 22 is forwarded to mydomain:12345. I can ssh ...
0
votes
1answer
28 views

Strange listening port

Auditing one of my systems, I found a process without name listening on localhost, port 52698. # netstat -lntp Active Internet connections (only servers) Proto Recv-Q Send-Q Local Address ...
1
vote
0answers
14 views

Running an ssh connection as a daemon

I am trying to monitor gerrit events through an ssh command. The command is as follows. ssh -p 29418 review.example.com gerrit stream-events I need to monitor various such gerrit instances running ...
0
votes
0answers
15 views

mac to mac vnc through ssh for dummies. Is my connection encrypted?

I am finding online tutorials very challenging and I feel compelled to ask a question that I'm sure is common: How do I control the screen of a remote mac on a (remote) home network, where all info ...
3
votes
1answer
45 views

Speedtest slow via SSH

I've got a small server at home (running Arch Linux) and I'm testing my internet speed. Using speedtest-cli directly from a terminal at the server I get DL speeds in the order of 30 Mbit/s and UL of ...
1
vote
1answer
13 views

Is SSH unstable in AdvancedTomato?

I'm able to login to my AdvancedTomato router via SSH to update config files. But eventually I find that SSH no longer works. Is SSH in Tomato unstable to the point that it eventually gets hung if you ...