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

learn more… | top users | synonyms

0
votes
1answer
310 views

Binvox not working on a headless Linux server

I'm trying to run Binvox (http://www.cs.princeton.edu/~min/binvox/) via web server, on an Amazon EC2 server with Nvidia GRID K520 GPU and running Ubuntu 14.04. I'm using the system(binvox, $ret) ...
0
votes
2answers
199 views

How to enable passwordless auth to remote server as a different user?

This may seem quite trivial but what I've done doesn't seem to solve the problem. I'm connecting to a remote server as tom who (obviously) exists on the remote server but not the local server. I ...
0
votes
2answers
486 views

SSH Server on Ubuntu not works

I wanted to start SSH server on Ubuntu 14.04 running on VirtualBox. I installed Openssh, sshd, etc., configured sshd_config to listen on ip, which I see in ifconfig and it not working. I'm starting ...
0
votes
1answer
2k views

how to install VMware vSphere Client on centos 6.5

How can I install "VMware vSphere Client" on CentOS 6.5?
0
votes
5answers
1k views

Downloading file through SSH with a “proxy” machine inbetween

I need to download a file from machine C to machine A. To do that, I need to login to machine B (I am doing this using scp), as I cannot access C directly from A. Would it be possible to download a ...
0
votes
2answers
449 views

Locked out of Ubuntu machine

I recently made changes to my EC2/Ubuntu instances by installing OpenSSH, before I was able to SSH just fine, however now I'm getting this error: ssh: connect to host shopious.com port 22: Connection ...
0
votes
1answer
992 views

How do I log out/disconnect from SSH after starting a process with output to keep it running? [duplicate]

I ran a script from the command line today (php, not sure that matters) which has output I wanted to watch but I had to go home before it finished and I couldn't figure out how to exit without killing ...
0
votes
1answer
837 views

git, setting up remote repository without ssh

I want to set up a remote git repository on a openSuse machine, and I have the following question. Do I really need ssh on the machine, to set up the remote git repository? Initially is it possible ...
0
votes
1answer
1k views

scp to Local Machine After SSHing [duplicate]

From my local machine I can copy files from a remote machine scp remote:/some/file/path ~ But what if I'm already SSHed into the remote machine? Can I do something like this ssh remote cd ...
0
votes
2answers
42 views

ssh to a new user in ubuntu

I created an user in ubuntu and now I want to do ssh with that user. I'm able to do ssh but I'm not getting in the shell: myUserName@myMachineName:path$ I just get: $ And I don't see the path ...
0
votes
2answers
83 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
2answers
98 views

Command to restore filesystem to state after installation of the OS

How can I wipe all the changes to the filesystem since installing the OS? It's not that I want to destroy the files because they contain sensitive data or anything like that; I just want to start over ...
0
votes
1answer
116 views

Supply additional ssh options in config file

How can I supply additional options in .ssh/config? I know that information like Host, Port, User etc. may be used in the ssh-configuration file to abbreviate ssh commands. I frequently create ...
0
votes
1answer
158 views

SSH proxy laptop

I run a simple ssh proxy and I am always on the move with my laptop. Having to restart it every time I open the lid and connect to the internet. sshpass -p password ssh -D 9999 root@myvpsip Is it ...
0
votes
2answers
206 views

Run an SSH command on two hosts whose name comes from another command

So what I'm trying to do should be fairly simple but I can't seem to figure it out. I need to kill a certain process on different boxes, they all have a defined IP range although they will eventually ...
0
votes
1answer
92 views

How to forward port after tunneling

Today I have read this question and answer (How does reverse SSH tunneling work?). I tried it out and it worked perfectly however I want to know one thing. Say I have a web server running on port 8000 ...
0
votes
2answers
217 views

Simulate desktop over SSH?

I want some kind of desktop DE when connecting to my linux box over ssh. Something like winscp works but I'll be running on linux instead of windows. The box doesn't have much ram and is not running a ...
0
votes
1answer
482 views

Connecting to KVM on a GUI-less CentOS 6.4 using MobaXterm

I followed the directions at this question: Installing KVM on CentOS 6.4 without GUI (yet) But I'm not sure which feature (there are many!) of MobaXterm I should use to connect to the KVM. On the ...
0
votes
2answers
6k views

SSH tunneling: connect_to localhost port 22: failed

I want to connect from my computer to a remote computer using a middle server(u port forwarding). I run this command on remote computer: ssh -R 9300:localhost:22 user@middleserver and this one on ...
0
votes
1answer
124 views

How to control desktop applications over SSH

Assuming that the wife is right now using our desktop Kubuntu machine, probably surfing the web in Firefox or using Digikam. After logging into the machine via SSH, what can I do to 'pop up' little ...
0
votes
1answer
76 views

UUOC with ssh file transfer

Just wondering; is it possible to skip the cat in some_command | ssh remote 'cat > outputfile' ? It feels like a UUOC.
0
votes
1answer
234 views

Indirect SCP connection

I use ssh and scp to connect to a remote server. Due to a ip/proxy limitation on the remote server, I have to connect first to another server. For example, if I want to connect to "SERVER-A", I have ...
0
votes
1answer
325 views

emacs fonts from ssh not as good as locally installed

How can I have the same emacs fonts and antialiasing configuration that I have in my local Ubuntu 12.04 also working when I open an emacs session via ssh to a CentOS 5 system? EDIT: I didn't get an ...
0
votes
2answers
262 views

how to code c++ via ssh with Vim or Vi? [closed]

Would I have to rent and configure a server or something? I'm sort of new to unix, but when I was in school I had this nifty setup where I could ssh from any terminal in linux or mac or putty in ...
0
votes
1answer
549 views

Quotes exercise - how to do ssh inside ssh whilst running sql inside second ssh? [duplicate]

Possible Duplicate: Quoting in ssh $host $FOO and ssh $host “sudo su user -c $FOO” type constructs Wrapping a command that includes single and double quotes for another command I want to ...
0
votes
2answers
306 views

public key authentification doesn't pass, why?

I'm trying to connect to Server with ssh and id_rsa key. That key is only key in authorized_keys (just added with ssh-copy-id) When i do connect, server ask doesnt end with keys but always ask for ...
0
votes
1answer
3k views

Specifying ciphers and protocol 2 in .ssh/config

I would like to be able to specify in my .ssh/config file that ssh uses protocol 2 (command line argument -2), and which ciphers to use with it. The following does not seem to work (I get bad ...
0
votes
2answers
3k views

How to direct bash network request through a socket5 proxy?

I know how to use http_proxy to redirect http request, but how to redirect the data with a socket5 proxy such as a SSH tunnel?
0
votes
2answers
3k views

SSH “command not found” for Zsh

Im using Zsh on the client and server. When I use ssh to run a command on the remote server it can not find the binary: ssh gt "cd /home/****/app/staging && bundle exec rake db:migrate ...
0
votes
1answer
357 views

Endlessly stuck in SSH login loop?

I've got a weird issue. Every time I hit Ctrl+D or use logout or exit, I see Connection to remote.host.com closed and then I am immediately logged back in: Last login: Thu Oct 6 21:04:20 2011 from ...
0
votes
2answers
2k views

Unable to connect to host via ssh

I have problem connecting to host via ssh. It prompts me this error : debianbox@debian:~$ssh cdcharles@hephaistos.rsr.lip6.fr ssh_exchange_identification : Connection closed by remote host The ...
0
votes
1answer
785 views

github ssh problem- permission denied(publickey)

I tried setting up git as shown in Github's help page, on Arch linux but there seems to be some problem with the SSH keys. It gives this error- Permission denied (publickey). This problem is ...
0
votes
2answers
739 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
1answer
25 views

ssh RPi from PC - How to share internet connection?

I have Raspberry Pi connected with PC on eth0 port. I am using eth0 to ssh RPi. I have web application on RPi that requires Internet access. Now, I set static ip to RPi (192.168.1.50) and to PC ...
0
votes
1answer
26 views

Make sshd override login shell of a group of users

My users are shared across a number of machines via LDAP. For one of those machines (let's call it 'fileserf'), I would like to restrict some users in what they can do (actually: prevent them from ...
0
votes
1answer
35 views

How do I set up passwordless authentication with non-root users?

Using two CentOS 7 servers, I set up passwordless authentication with root users. It works fine. I tried to use the same method (with .pub and authorized_key files) with other local users. But these ...
0
votes
1answer
32 views

Setup GUI via ssh

I can connect to my universitys server, where I have a virtual machine running on Debian 8.3 (as far as I can see, no additional software is installed yet). I have admin rights and can install new ...
0
votes
1answer
30 views

Protecting account ssh keys from root

How can users ssh private keys be protected from root stealing and attempting to brute force them? I cannot use selinux as the vendor will not support the app when it's in use? Thanks
0
votes
1answer
53 views

ssh authentication and remote command output's redirection

I need to run a remote capture on a host via ssh and to authenticate twice, but the second prompt is being redirected. ssh -t user@host "sudo tcpdump -s 0 -n -w - -U -i eth0 not port 22" > ...
0
votes
2answers
41 views

Combining two scripts into one

I have two scripts. Both scripts are on the same server (serverA) The first one (serverA) makes an ssh connection to the other server (serverB), and executes the second script, e.g *script1* ssh ...
0
votes
1answer
32 views

play m3u with vlc on raspberry pi using ssh

I would like to play m3u with vlc on raspberry pi using ssh (I don't have any screen to connect to the pi). I tried the following answer: Program run in SSH accessing pulseaudio on the machine where ...
0
votes
1answer
19 views

X Forwarding over SSH when switching users [duplicate]

How do I forward X when switching users? I can ssh -X username@server.example.com and open GUIs just fine. However, then when I sudo su to root, the X11 forwarding seems to stop because the windows ...
0
votes
1answer
28 views

Can I read the public SSH key of another user? [duplicate]

The public component of SSH keys theoretically don't need to be kept private. It was therefore to my surprise that I was unable to read the public key of another user on the system: andreas:~$ cat ...
0
votes
1answer
44 views

SSH still asking for password even after I have tried everything (that I know of)

ssh is still asking for a password, even though I did everything by the book. I have included all output, right from the start. Any ideas? Thanks! Gary 1) Generating public/private rsa key pair and ...
0
votes
2answers
41 views

Using Timeout in a Script with One Command, but Multiple Hosts

I'm writing a script that SSH into a device, SCP a file over, names it according to the device name and then goes on to the next one. My problem is if a device is not reachable the script hangs ...
0
votes
1answer
19 views

PAM filtering via IP for SSH

I know this is probably a bit of a nube question, but I need some input. So if I use last I can see my IP, and it's also in my auth log whether failed or accepted, eg. Dec 9 19:30:16 wilhelm ...
0
votes
1answer
82 views

HOWTO: sshfs via socks proxy

I have some bridge host, which allows access to protected network. I connect to it using this command: ssh sergius@bridge_host -D 3128 Thus, I can turn on socks proxy in browser and it works. I can ...
0
votes
1answer
114 views

xhost + is not working with Oracle installation

I am trying to install Oracle on Ubuntu 14.04. I have followed instructions and now I am trying to start the installation. However, I am facing problems. If I run ./runInstaller command with oracle ...
0
votes
1answer
278 views

SSH Protocol mismatch

I have a very strange problem. I have two servers, namely daytona, which serves as a storage server with a raid array. I WOL it when I want to back up to it. The second server is testarossa which runs ...
0
votes
1answer
24 views

How can I improve performance using a system remotely via SSH?

I know I can use compression with the flag -C. Any other ideas? Also, besides my internet connection (which I think is fairly fast), what could be causing the network to slow down?