SSH (Secure SHell) is a protocol for running commands on a remote computer.
2
votes
1answer
7 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
13 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
50 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 ...
-1
votes
0answers
27 views
slow operation and low cpu usage in remote linux machine [on hold]
I'm using a remote linux for simulation, I ssh into it for operation.
Recently, my account in the remote machine is very slow, even type in a "ls", it takes seconds to show the result. I'm running ...
0
votes
2answers
35 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
0answers
49 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
434 views
Is it more convenient to login to SSH using a password because SSH Keys need to be stored on each computer [on hold]
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
4 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
29 views
What happens to screen session over ssh when connection is lost? [on hold]
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
45 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
37 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
13 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
32 views
import .sql file into a remote server from a local machine
How can I import a sql file into a database, which is in the remote server. The server is a SUN OS machine and I'm accessing the remote server using SSH. I'm working on a local machine, which is OS X.
...
0
votes
1answer
39 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
48 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
1answer
38 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
30 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
20 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
38 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
20 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
40 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
31 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
57 views
My ssh server stopped working after I did something [on hold]
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
27 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
68 views
find: missing argument to `-exec'
when I'm trying to use this command
var1=`sudo -u psoadmin -H -s ssh [email protected] find . -maxdepth 1 -type f -mtime +14 -exec ls -lh \{} \; | awk '{print $5, $9}'|egrep -v ...
0
votes
1answer
38 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
0answers
44 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
...
14
votes
1answer
575 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
47 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
40 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
167 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
56 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
27 views
ssh without password multiple shared hosts
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
60 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
26 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
41 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
11 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
49 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
30 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
105 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
27 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
41 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
16 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
27 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
19 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
38 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
78 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 [email protected]
and I obtain this error: ...
2
votes
1answer
119 views
bash ssh warning when connect to raspberry: setlocale: LC_ALL: cannot change locale (en_US.UTF-8) [duplicate]
I tried for example this to solve my problem and this too.
My problem is that when I try to connect to my Raspberry pi2, I got the following messages:
Linux raspberrypi 3.18.7-v7+ #755 SMP PREEMPT ...
3
votes
0answers
50 views
Is there a technical reason why ssh-agent lacks a sudo-like inactivity/idle timeout feature?
There are some brief discussions about the existing ssh-agent -t feature at [1], and there was a post as far back as 2001 on debian-devel [2] wishing for an inactivity timeout feature. There's a ...
4
votes
0answers
48 views
Fast drop-in replacement for ssh -x
I'm looking for something to provide faster X11 fowarding than ssh -X provides. I do not need a full GUI session or the ability to drop/resume user sessions. I use NX regularly, but as far as I can ...