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

learn more… | top users | synonyms

1
vote
1answer
75 views

ssh tunneling: connection closed by foreign host

I'm trying to create a scenario to test a simple ssh tunneling, just for using a simple telnet. I have two hosts: ubuntu and suse. Both of them have the other hostname on /etc/hosts file for address ...
1
vote
1answer
45 views

Problem in using ssh from home to university

I want to control my lab pc from home using ssh and vnc. But because of firewall of my university, I can't contact my pc from outside. I wonder if there is a way to avoid the firewall and contact my ...
2
votes
2answers
38 views

Code for submitting job on cluster

I don't know whether this is the right place for posting this question, if not kindly let me know where I can ask. My doubt: I use the following code to submit a job on a cluster, but I don't know ...
2
votes
2answers
14 views

ssh and VNC connections are directed back to the original machine by dynamic DNS server

First question I've asked here so please forgive me if I accidentally break a rule. I recently set up an ssh server on my home machine, and am using ddclient to keep the dynamic DNS service at ...
0
votes
1answer
20 views

Fedora, where to put my ssh keys to login? [duplicate]

I just recently started a VPS using Fedora. Upon creation of the VPS I was asked if I wanted to use SSH keys (which I did). Now, to connect as root to the VPS, I do not need to enter a password. Now ...
4
votes
1answer
104 views

SSH server always available under heavy load

Is there a way my SSH server, and everything under it (including bash) can be always available under heavy load ? Maybe it could be some kind of a critical path, all in memory, with a dedicated CPU ...
0
votes
2answers
29 views

VNC/SSH: How to execute a command after logging in?

I'm looking for a way to create a VNC console user that executes the command screen or bash immediately after logging in so they get their own restricted shell for executing commands etc. Screen/bash ...
0
votes
2answers
50 views

Connection Timeout for ssh connection depending to the ip location?

I have a machine where I can connect it using ssh from different networks. But when I have moved to other country I have not be able to connect it. What may be the cause? I am able to ping the server ...
1
vote
1answer
70 views

Dubious entry in logwatch

Today I found the following in the daily logwatch of my debian server: --------------------- Connections (secure-log) Begin ------------------------ **Unmatched Entries** sg: user 'root' (login ...
2
votes
5answers
455 views

Is it more convenient to login to SSH using a password because SSH Keys need to be stored on each computer [closed]

I do not mean this to be an opinionated question, I am just trying to see if I am missing something here: It seems like using a username and password to use the SSH because the username and password ...
0
votes
0answers
16 views

Why does my PPTP connection work if I DMZ the server behind the router, but it does work if I use port forwarding?

Why does my PPTP connection work if I DMZ the server behind the router, but it does not work if I use port forwarding for the wide area network? Is there another port I need to open/port forward ...
0
votes
1answer
42 views

What happens to screen session over ssh when connection is lost? [closed]

I ssh to a remote computer, and create a screen session there. Then I lose the internet connection. When I ssh again to the computer, I want to see if the created screen session is still there, so I ...
0
votes
2answers
49 views

How is pipe involved in ssh?

My internet connection was lost When I ssh to a remote machine over the internet. It says $ Write failed: Broken pipe How is pipe involved in ssh? Does ssh implement communication between the two ...
1
vote
0answers
219 views

ssh does not get host key

I have a PivosXios-DS-M3 XBMC-Box, wich run xbmc12 until yesterday. All my desktops run Archlinux. Yesterday, I did a fresh install of tofu-linux to the Pivos-box (Kodi 14.1). Thus, on my arch ...
0
votes
0answers
27 views

ssh_exchange_identification: read: Connection reset by peer (Have access to the server)

I'm getting "ssh_exchange_identification: read: Connection reset by peer" for ssh into a machine. However, it only happens to my machine and it works for the other person next to me (we share the same ...
0
votes
2answers
85 views

import .sql file into a remote server from a local machine

I've created a database in the remote machine. Currently, the database is empty and I need to import using a backup(.sql) file. The backup file is in my local machine, it is a 40gb file. And the ...
0
votes
1answer
46 views

SSH: how to connect withou password knowing only passphrase?

Short question: I got a task to update a git repository. Information I received is following: host, port, user name and ssh key's passphrase with information that key's type is rsa. How can configure ...
0
votes
2answers
66 views

SSH authenticity couldn't be established

Last night I SSH'ed to different systems.... one system/SSH reported that the "authenticity of HOSTNAME couldn't be established......." and it asks if I want to continue or something, I didn't and ...
2
votes
2answers
67 views

How can I alert on completion of a long task over ssh?

My desktop is Ubuntu, which has the handy program notify-send, which pops up an alert on the desktop. It also has the following handy alias built in: $ type alert alert is aliased to `notify-send ...
2
votes
1answer
93 views

Troubleshooting SSH on Ubuntu Server

I am trying to setup SSH-key authentication on Digital Ocean Cloud server. I first added my rsa_id.pub to my account and autoloaded it to the ubuntu droplet when I created it. There seems to be an ...
0
votes
1answer
44 views

rkhunter warning about ssh root access when that access is not allowed on the system

I just ran rkhunter --check and all was good except this: Checking if SSH root access is allowed [ Warning] What does this warning mean? SSH root access is not allowed on this ...
1
vote
3answers
85 views

how to execute commands on remote server as different user

I am trying to connect to server B from server A using ssh and executing commands using some other user. However, when I try searching for a pattern in log file it says "cannot open log file" below is ...
0
votes
0answers
24 views

Cygwin and OpenSSH

I am having issues setting up and installing the latest Cygwin with Openssh. Similar to this issue Installing SSH via Cygwin I can get this setup and working fine when the server is not connected ...
2
votes
1answer
49 views

Add a static text layer/bar in terminal

I have a script that I use to automatically generate port forwards for SSH, since I am working in several terminal windows across different servers all day, and this checks whether or not the port has ...
1
vote
1answer
37 views

Replacing one ssh server by another while keeping keys

I have an embedded system that normally connects via ssh to a certain system, the OS is on flash mem and nothing can be changed. I have now replaced the destination system with another and thanks to ...
0
votes
2answers
70 views

My ssh server stopped working after I did something [closed]

I'm very new to Linux, BTW. The ultimate goal for me is to run applications and their GUIs on a (Mac) computer from another computer. The first step is to just use SSH to access and control the ...
1
vote
0answers
36 views

ssh x11 forwarding drag-and-drop

Is it possible to drag-n-drop into x11 forwarded application? For instance, I'm forwarding skype and I'd like to send a file by dropping it into message box. Yes, I know I can work it around. This ...
1
vote
4answers
109 views

find: missing argument to `-exec'

when I'm trying to use this command var1=`sudo -u psoadmin -H -s ssh daill_scp@files.dc1.responsys.net find . -maxdepth 1 -type f -mtime +14 -exec ls -lh \{} \; | awk '{print $5, $9}'|egrep -v ...
0
votes
1answer
55 views

How do I tunnel traffic through a VPN and then through another machine

I recently started working from home using a laptop (A) that connects to a corporate network over a VPN. The VPN end point (B) on the corporate side then has two ports, 3389 for RDP and 22 for ssh, ...
1
vote
1answer
109 views

bash scripting : using expect

I am facing an issue when I run simply these commands. The remote server want to pass "yes" to add the key in RSA file because first time connection established with scp. commands are given below ...
15
votes
1answer
616 views

Transfer a file over a unstable SSH connection

I'm trying to upload some big files (around 10GB) with a slow upload speed (200kb/s) on a often disconnected SSH connection (due to poor network conditions). I'm trying to use scp, but if there is a ...
3
votes
1answer
78 views

Program run in SSH accessing pulseaudio on the machine where it runs

I would like to run a program remotely (through ssh) but with audio going to the remote machine where the program actually runs. This would normally work with ALSA, but pulseaudio apparently checks ...
2
votes
2answers
77 views

How to set Timeout for an ssh command and also get back the result of remote commands

I have a script that runs on bash, in an RHEL server that connects to thousands of nodes and returns with the values of some 5 executed commands - It collects info from RHEL Servers only. It works ...
4
votes
3answers
226 views

How to unlock account for public key ssh authorization, but not for password authorization?

The ssh won't let me login, because account is locked. I want to unlock the user on my server for public key authorization over ssh, but do not enable password-ed login. I've tried: # passwd -u ...
1
vote
1answer
178 views

ssh connection to server closed immediately after authentication

I had the same problem as ssh connection to server closed after authentication immediately I connected to my server (in this case a raspberry pi running pi musicbox) via ssh, it would accept my ...
0
votes
0answers
44 views

ssh without password multiple shared hosts [closed]

Hey I know this is a simple task but i was getting some trouble do to my setup. I have 3 servers on which i want to be able to ssh without being prompt a password. But the thing is each of those ...
1
vote
2answers
87 views

How to tar, split, pipe, untar over ssh

I'm copying large files over LAN, and I've noticed that with doing one ssh pipe, I can get around 10MB/s transfer speed. However, if I shoot off four of those at the same time, I get around 40MB/s ...
2
votes
1answer
47 views

How to make sshd listen to two ports, but restrict one of them to a single source address?

I need sshd to listen both on port 22225 (allowing connections on that port from any IP) and port 22 (allowing just a single static IP on that port). In other words, listen on two ports at the same ...
-2
votes
3answers
47 views

what is the difference between “ssh user@ip” and “ssh ip user”?

I am facing problem with one of the above. Only ssh user@ip works not the other way round. And I am getting the following error when I run ssh ip user sh: root: not found Because of this I GUESS ...
1
vote
0answers
12 views

how to display osd_cat on a remote HDMI Screen [duplicate]

i have installed xosd an used osd_cat to display text in my screen. the problem is that i cant do it on the remote station on the remote screen through SSH. I want to execute osd_cat on the remote ...
0
votes
2answers
110 views

Enable ssh host to guest & guest Internet on CentOS 7 guest with VirtualBox

I have 2 CentOS 7 guests running in VirtualBox on a Ubuntu host. I want to be able to: Connect using ssh from host to guest Download/install packages from the Internet on the guest. I currently ...
0
votes
0answers
49 views

Help with vsftpd and sftp

Is it possible to sftp setup that is more flexible then the ssh internal ftp server? I have been tasked with providing an /srv/ftp/ directory which includes mount -bind other_directory1 /srv/ftp/d1 ...
4
votes
2answers
133 views

Can 'ssh <host> <command>' be configured to always load server-side startup files?

I would like run remote ssh commands and have them always load server-side startup files by default. I am looking for a solution that does not require: configuration by root adding extra boiler ...
0
votes
1answer
60 views

Solaris 10: how to enable some cipher or esclude weak cipher on ssh?

On HPUX and Linux servers this line works fine Ciphers aes128-ctr,aes192-ctr,aes256-ctr,arcfour256,arcfour128 On solaris10 give me error /etc/ssh/sshd_config line 155: Bad SSH2 cipher spec ...
0
votes
0answers
89 views

can't connect to remote host with MySQL…firewall problem?

I've granted privileges to thufir for remote access through the shell (correct?), but cannot seem to actually connect. The router firewall has SPI to off. I've disable the IPv6 firewall on the ...
0
votes
0answers
23 views

ssh agent-forwarding with lxc

I have a "little" problem I try to ssh using putty and pageant to server, than to ssh into lxc-container and than to other server. But no publickey is used, it prompts for password (at last hop). ...
1
vote
0answers
35 views

SFTP connect through an other server

I want to connect to my account in a server of my university. When I’m there I only have to do ssh user@FinalServer/home/user or create a folder using sftp://user@FinalServer/home/user But the ...
0
votes
1answer
26 views

SSH Tunneling does it multiplex?

I'm writing an application which will be doing something similar to SSH tunnelling (port forwarding and reverse port forwarding). However, SSH will not be involved at all, hence why I'm not using any ...
0
votes
1answer
40 views

unknown command “vftovp” in linux command history [ Is my linux box compromised? ]

I have Slackware linux system configured with ssh remote access. While observing the command history, I discovered that there is one unknown command executed from my linux box "vftovp". I certainly ...
3
votes
1answer
106 views

scp command fails executing cp

I am trying to use scp command to copy the r0.res file from local machine to a remote machine. I entered the following command: scp -v /etc/drbd.d/r0.res root@192.168.1.104 and I obtain this error: ...