SSH (Secure SHell) is a protocol for running commands on a remote computer.

learn more… | top users | synonyms

1
vote
0answers
104 views

Debootstrap and SSHs server

I got a NAS server, a synology. To be able to configure web server better than DSM can do (DSM is synology linux like), I have installed a debian via deboostrap. My web server works really fine on the ...
1
vote
2answers
476 views

Tunnelling VPN through SSH mac

I have a pptp VPN server set up on my Raspberry Pi at home, and it works really well, except when I'm stuck behind my college's firewall. I can SSH into it through commonly open firewall ports (443, ...
1
vote
0answers
205 views

Making ChrootDirectory directory writable by SFTP user

If a user logs into a machine via SFTP, one can make use of ChrootDirectory keyword to give an illusion that user is in a root directory. But that directory is only writable by root user. I would love ...
1
vote
0answers
91 views

Client-server app for sending and monitoring asynchronous jobs

I am looking for a desktop app/IDE in which you can: Maintain a list of UNIX/Linux connections Be able to write a script locally in a local editor, not SCP files to the host or writing them on the ...
1
vote
0answers
55 views

Run a script (for an app GUI) when logged from NX but limit shell commands on terminal

I have a user which will be accessing an app GUI via NX NoMachine. I want to allow this user to execute the command to bring up the app GUI (done automatically by NX) BUT prevent him from executing ...
1
vote
0answers
595 views

How to efficiently use Console2 with screen/tmux/byobu?

I'm using Console 2 and msysgit's bash to SSH into my Linux machines. There, I'm using screen (but considering tmux and/or byobu), but currently simply with one single-terminal session per ...
1
vote
0answers
301 views

Launch X11vnc server on Ubuntu remote desktop through SSH

I have a Windows computer and I am currently connected to a Ubuntu 12.04 system through SSH using CRT on my Windows computer. I would like to know the commands that I need to run from my SSH session ...
1
vote
0answers
156 views

Can't ssh anywhere [closed]

I've tried about 4 hosts, everyone gives me the same result with ssh -vvv OpenSSH_6.0p1, OpenSSL 1.0.1c 10 May 2012 debug1: Reading configuration data ~/.ssh/config debug1: ~/.ssh/config line 6: ...
1
vote
0answers
509 views

ssh: “Error reading response length from authentication socket”

I have a Makefile with some ssh and rsync commands. All of them are executed correctly, but give the following error message: Error reading response length from authentication socket. I don't like ...
1
vote
3answers
807 views

Kill background SSH when shell exits

I'm trying to spawn an SSH from my bash profile script that runs in the background for connection sharing (via its control socket). The problem I'm running into is a reliable way to ensure the SSH ...
1
vote
0answers
39 views

Calling xrandr via SSH [duplicate]

Possible Duplicate: Open a window on a remote X display (why “Cannot open display”)? I'd like to ssh to a host running an X server and use xrandr to query and update things ...
1
vote
2answers
1k views

Is there any way to get control over a terminal by ssh with no (screen) [duplicate]

Possible Duplicate: How can I disown it a running process and associate it to a new screen shell? Let's say I'm install applications directly on to a Linux box. May I go to another machine ...
1
vote
0answers
149 views

How to chain SSH? [duplicate]

Possible Duplicate: Common multiple SSH connections file handling issue I want to reach hosts that are only indirectly accessible with SSH/SCP/SFTP. Are there more solutions for this? Are ...
1
vote
2answers
265 views

Provide passphrase to plymouth ask-for-password from command line

I'm working on booting a headless server (Fedora 16), entering the passphrase to decrypt the root disk (LUKS) over SSH using dropbear. I've got dropbear all working: I can SSH to the server while it's ...
1
vote
2answers
472 views

How does this shell command work?

The following command puts the content of the local id_rsa.pub into the authorized_keys file on the host. But I don't quite understand how cat and | works together to achieve this goal, can someone ...
0
votes
2answers
95 views

Transfering files using ssh

I've found the following command pretty convenient for transferring files to servers I have ssh access to: cat myfile.txt | ssh my.host.edu "cat > myfile.txt" Is there a similarly convenient ...
0
votes
3answers
319 views

Is there a central repository of SSH keys on a system? Does SSH keygen put the private key in that location?

I just generated a public and private key with ssh key gen. I uploaded the public key onto a gitlab (basically a clone of git hub) system for my university and got an email saying that I successfully ...
0
votes
3answers
496 views

Unable to ssh out from my laptop

I'm unable to ssh from a particular machine, either from my Ubuntu 12.04 install or my Windows Vista install (using putty). I'm trying to ssh into a remote machine where I have an account, but I keep ...
0
votes
5answers
1k views

SSH login attempts per minute per IP

How can i limit SSH login attempts per minute per IP ? I want to disable login attempts during 5 seconds after a failure. Is this possible ? I'm not talking about ban a user after parsing logs like ...
0
votes
2answers
48 views

SSH Key not working [duplicate]

I created an SSH key on my laptop using ssh-keygen and then put it on some production servers so that I don' have to type my password every time. On some servers it is working well, but on some it's ...
0
votes
2answers
40 views

Can't use SSH anymore after installing denyhosts

so I'm in a very tricky situation. I've installed denyhosts on my debian machine and suddenly I can't use SSH anymore. Hopefully I could still login through webmin, but with root, so I had to login ...
0
votes
2answers
42 views

Disable authentification for ssh [duplicate]

Is there a way to store my password when ssh'ing on a server? I tried to change the variables BatchMode and PasswordAuthentication in my file /etc/ssh/ssh_config, but to no avail. Could someone ...
0
votes
2answers
4k views

SSH authentication using gssapi-keyex or gssapi-with-mic (publickey not permitted)

My company has disabled SSH public key authentication, therefore I have to manually enter each time my password (I am not suppose to change /etc/ssh/sshd_config). However gssapi-keyex and ...
0
votes
1answer
277 views

How do I escape a dot character for an rsync command? [closed]

I'm trying to do... ssh -av -e deploy@domain.com:/var/www/domain.com /Users/user/workspace/domain But it's outputting this (I presume because of the period character): OpenSSH_5.6p1, OpenSSL ...
0
votes
2answers
2k views

ssh root@localhost error; help me hack this box :)

I need to gain a root shell on a linux vm for a security class. I have a user account on the system and a means to write to any file (i.e. /etc...) and want to escalate my privileges with: ssh ...
0
votes
3answers
455 views

Read first line of a command's output. Command connects me to a remote terminal

Part 1 Say I have a command my_command that outputs multiple lines. I would like to capture the first line of my_command's output as soon as it's ready in a script, while keeping my_command ...
0
votes
1answer
76 views

Cancel SSH (after using it to browse) without logging out?

I'm afraid I'm not an expert on Unix and its command line (I'm using a Mac), so do bear with me (possibly an extremely stupid or basic question). I've used the command ssh -D 8080 -f -C -q -N user@IP ...
0
votes
3answers
98 views

When you ssh into a server, do you use server settings or your own settings?

So say I'm running a Linux server that is running irssi in a tmux session.(Detached) My question is, when I ssh into the server and reattach the session, will my shortcuts that I use on the 2nd PC ...
0
votes
2answers
100 views

SSH -L Tunnel no longer working

Local machine running my scripts needs to access a remote server's DB. Last week I could do, on the local machine ssh -f -N -T -L1081:localhost:3306 ueser@remoteserver -p2222 on the local machine: ...
0
votes
2answers
302 views

Ssh through two servers and a user in one command line [duplicate]

Possible Duplicate: How do I connect to a pc through another pc using ssh How to go about doing in one command line the following operations? $ ssh server-one $ su - user $ ssh server-two ...
0
votes
2answers
2k views

“Host key verification failed” even with removed ~/.ssh/known_hosts

When I try to ssh to my server from a linux computer with debian, I just get Host key verification failed. The only help I found online was deleting the key from ~/.ssh/known_hosts... well I did not ...
0
votes
3answers
680 views

Being kicked out upon logging in using ssh

Does anyone know why I am kicked out immediately after everytime I log in? Here is the output: $ ssh tim@xxxx.xxx.xxx.xxx Password: Linux xxxx 2.6.32-24-server #43-Ubuntu SMP Thu Sep ...
0
votes
2answers
72 views

How do I run a command on a TTY from a SSH session?

Does anyone know of a way that I could run a command from my ssh session and have it display on tty1? It seems like I could do that like: script command >> /dev/tty1. However, if I were to do ...
0
votes
1answer
50 views

Ways of logging to Linux machine [closed]

How many ways to log to a Linux machine there are? Direct login, using connected keyboard :) Remote login via ssh (-Y) to console or GUI is there any other means - defaultly allowed, or enabled in ...
0
votes
3answers
139 views

the difference between '..' and “..” when I use ssh usr@ip 'pscp …'

My Server machine run Window,and it installed Cygwin. My Client machine run linux. In Clinent machine.I do this: [sikaiwei@login-1-2 v1.4]$ bash test.sh CHUN~19900405 ...
0
votes
3answers
301 views

Script to login to ssh twice

I need to login through ssh twice with a script and can't get it to work. This is what I have in my script file: #!/usr/bin/expect set login "user" set addr "address1" set addr2 "address2" set pw ...
0
votes
2answers
46 views

Determine users of nearby machine from CLI

Ok, so at my house I have three computers, and I frequently enjoy using ssh and scp to run commands that allow me to do wonderful things. Primarily transferring downloaded files, and running media ...
0
votes
4answers
2k views

How can I share files between two Linux machines over LAN?

I am currently running Fedora 18 with Gnome on two computers which are connected to the same router. I have been using Samba to share files between the two, but I know there must be a better way. On ...
0
votes
1answer
3k views

Check if SSH is enabled or Disabled in Solaris 11

How can I check to see if SSH is enabled on Solaris 11? I have tried typing ssh in the terminal, and it came back with a list of options, which none of them made sense to me. All I want to know is if ...
0
votes
1answer
736 views

What is the default encryption type of the ssh-keygen?

When generating private/public keys with ssh-keygen what types of keys will it generate if I wont pass -t option followed with the encryption type like rsa?
0
votes
2answers
583 views

How to check that ssh login was successful in a script?

I do run ssh server "svn info /path/to/codebase" from php. It works fine but I wan to know how to check if the ssh login was not successful. I want to check from my php script that ssh server is up ...
0
votes
2answers
241 views

2 consecutive ssh logins [duplicate]

Possible Duplicate: Common multiple SSH connections file handling issue I used to do something like that often: home $> ssh user@server1 user@server1's password: server1 $> ssh ...
0
votes
2answers
492 views

SSH Copy Limit?

So I have a small little Ubuntu server set up, with some rather large files that I've allowed a few people to copy from their putty window. Anyways 2 questions: Lets say a person on windows wants to ...
0
votes
2answers
38 views

which unix or linux command is used to change root password of remote machine(Just an IP address) without using SSH Login [closed]

which unix or linux command is used to change root password of remote machine(Just an IP address)? Suppose I just have an IP address of the target machine which is on my network, But I do not know ...
0
votes
2answers
46 views

what is the purpose of -i in front of scp and ssh commands?

What is the "-i" for in the command "scp -i key *username*@address: path 1 *path 2*"? Note: I've seen "-i" used in ssh commands as well.
0
votes
1answer
35 views

Connect to LAN resource via ssh tunnel

I have the following problem. From machine A I connect to machine B over the internet via ssh and port forwarding. Machine B is part of my local network and has connection to machine C which acts as a ...
0
votes
1answer
28 views

ssh login after changed IP

I have server running Ubuntu 12.04.2 LTS (GNU/Linux 2.6.32-042stab078.28 i686) Had no problem logging in to the server via ssh until my Internet Provider changed my IP. Now, the server keeps adding ...
0
votes
3answers
124 views

What are the commands to apply changes made to /etc/ssh/sshd_config?

I have made some changes to /etc/ssh/sshd file and wanted these effects should take place. I know I can run below command for the effects to take place. /etc/init.d/sshd reload But on my box I ...
0
votes
1answer
83 views

Changed /etc/ssh/sshd_config. Now can't get to SU. Am I screwed?

To allow one of my users ssh access I added the line AllowUsers user to my sshd_config. I gave the box a reboot and attempted to ssh back in as superuser. I was unable to do so. I have my keys- ...
0
votes
2answers
46 views

I'm trying to install my public key manually w/ scp

I'm following a tutorial and it's going along well. I used ssh to connect fine. Then I created a private and public key. Which leads me to my first question it says that the keys have been saved to ...