0
votes
0answers
24 views

Disappearing Crontab, Odd Files

I have a number of Debian-based systems running on an ARM-based SBC connected to a network and they've been running for years. All of a sudden, when I log onto several devices, the cron file is ...
1
vote
0answers
25 views

SSH connection not possible in local network

Today I realized a very strange thing: I have a server (running Ubuntu Server 12.04.4 LTS) in my local network whose SSH port is accessible via the internet (I can connect to it using ssh ...
0
votes
2answers
24 views

Creating remote user to launch one file

Here is the problem: I have made something with python that works with virtually any OS, except windows, and I have been told the people who are going to evaluate/use/try it only have windows ...
0
votes
1answer
30 views

ssh authorized_keys permission denied only until file is listed/stat'ed - VERY STRANGE

Ubuntu 14.04LTS running openssh. I'm getting a Permission denied (public key) when I try to ssh in using my public key. /var/log/auth.log shows "Could not open authorized keys ...
0
votes
0answers
12 views

Making proxies on Debian

Hi guys I am trying to create SOCKS Proxies on my VPS and currently am not getting too far so any help is well appreciated. Here's a few details on my VPS: It is running Debian linux, has 512mb ram ...
0
votes
2answers
38 views

PuTTY remote command containing while loop

I am attempting to automate several common tasks that I SSH into a remote server to do. For this, I am using PuTTY and its "remote command" option (Connection > SSH) in several saved sessions. My ...
0
votes
0answers
12 views

How can I copy files from a Google Cloud Compute Server to my local machine

I'm trying to download all of the server files from Google Cloud Compute (running Linux Debian). I'm extremely unfamiliar with SSH and Google Cloud Compute as a whole. I'd prefer either copying all of ...
1
vote
1answer
16 views

Why does 'export foo=1' not get read when I use ssh?

I'm trying to set a remote environment variable explicitly in an ssh command: ssh worker-2 "export OPENBLAS_NUM_THREADS=1; echo $OPENBLAS_NUM_THREADS" Strangely, this prints just a blank line, but ...
1
vote
1answer
19 views

Can't disable SSHD banner

So, I have a WD MyBookLive NAS, which runs an ugly PPC build of Debian Squeeze. It has SSH access enabled, and when I log in, I get a long banner message (closer to an epic saga in length) about ...
2
votes
0answers
35 views

LC_LOCALE settings interactions between Mac OSX and LINUX via SSH

I have been struggling with the following problem for years now. I have never been able to solve it, and I adopted several workarounds to keep being able to work. However now I can't stand it anymore, ...
0
votes
1answer
21 views

Small bootable package to enable ssh client?

I've been trying to find the smallest possible package to put on a cd/thumbdrive that will allow me to use an ssh client on a wired networked computer. I'm talking about really barebones stuff, no ...
0
votes
0answers
12 views

SSH Mini Linux Version [closed]

I'm interested in knowing if there is a Linux distro or other operating system which has basically just SSH on it. No frills. Just something I can add to a grub menu on boot where that os just logs in ...
0
votes
1answer
19 views

Script for one time proxied firefox

I want to change firefox proxy settings on the fly (no, I will not be installing a 3rd party extension for this). I want to open up an instance of firefox without changing my default proxy settings. ...
0
votes
1answer
123 views

I broke SSH by using chmod on an EC2 Instance — How do I correct?

I have been running an Amazon EC2 Instance for a while, and recently accidentally changed permissions/ownership on folders recursively. I can no longer SSH into the instance. I do not recall what the ...
1
vote
1answer
14 views

How to store password for switch user in my .profile

I usually connect to my AIX server using putty via my regular account and then do "su - otherAccount". This way I've to enter password twice, one for my account and one for the otherAccount. I've ...
0
votes
0answers
28 views

How to connect to the a Linux machine behind a router via ssh tunnel

I'm using Windows system (Machine W). I want to a Linux machine (Machine L) behind a router via ssh tunnel. I have another Linux machine (Machine T) to establish ssh tunnel. I want only packets for ...
0
votes
0answers
24 views

Distributing master key in hadoop

For the master node passwordless-ly ssh into the slaves, the master needs to distribute its ssh keys to the slaves. Copying keys using ssh-copy-id asks for the user password. If there are hundreds of ...
1
vote
1answer
28 views

svn checkout with ssh tunnel on fedora missing ssh-askpass library

I'm running fedora 20 and when I try to run svn checkout svn+ssh://repo I get this error after typing my ssh passphrase for my key: ssh_askpass: exec(/usr/lib64/misc/ssh-askpass): No such file or ...
2
votes
3answers
39 views

Trying to encrypt data

I have an application which transmits plaintext data over the network on a given port, say port 4000. This data is for another application which is running on my vps. How could i encrypt this data ...
0
votes
0answers
16 views

Am I using this command correctly? Can't understand why I get the error I am getting. Myqsl - Centos 6

So, I am trying to connect to a database through mysql ssh, but whenever I run the command Connect postfix@127.0.0.1 on postfix It returns with: ERROR 2005 (HY000): Unknown MySQL server host 'on' ...
0
votes
0answers
7 views

How to see the size of files on apache server?

On a VPS apache CENTOS 6.5 x86_64 virtuozzo – server Server space is disappearing on accounts that are untouched, or should be. I suspect hackers are uploading to the accounts in question. Space is ...
0
votes
2answers
40 views

Unable to SSH, cannot create /dev/null/.ssh

I am trying to deploy hadoop with a master and slave node. But the master fails to start tasttracker and datanode processes in slaves, as it is not able to ssh into slaves. The error message is 'Could ...
0
votes
1answer
32 views

can not load private key using ssh-add

I tried to create a ssh key by doing following command: ssh-keygen -t dsa then it prompts me to enter store path: Enter file in which to save the key (/Users/KesongXie/.ssh/id_dsa): id_dsa after ...
0
votes
2answers
65 views

RedHat Linux - ssh shows “connection refused” using one user and also root, but another user can connect

From server Y, user A tries to ssh to server X and gets Connection Refused. From server Y, user B tries to ssh to server X and is allowed through. From server Y, root tries to ssh and gets Connection ...
0
votes
0answers
52 views

ssh works on IP get “ssh_exchange_identification: Connection closed by remote host” on FQDN

I have a new raspberry pi box running at my home. I decided that I will use it to access it by ssh from the web. I setup the NAT in the Router and everything else, from my Mac Book within the internal ...
0
votes
0answers
23 views

Synology NAS resume rsync backup after connection loss

I am trying to do a backup from a synology NAS to an offsite NAS. I am using rsync through DSM5 as of now, but it doesn't give me the possibility to resume the backup if a connection loss occurs. This ...
2
votes
1answer
32 views

What should I do to make my Raspberry Pi safe for SSH?

OS: Raspbian I want to be able to access my Raspberry Pi from the internet. However, Raspbian comes shipped with a default username and password, which means anyone can access it. I have changed the ...
0
votes
1answer
33 views

Need a way to use 2 networks to access the server in parallel sharing data traffic

I have a server connected to Internet via two networks - A microwave link and an ADSL Link. The server has been assigned static IP address in both network. Both both the networks are not reliable and ...
0
votes
0answers
30 views

Bash Script Display Remote Screen Session to User

I'm kind of new to bash scripting and I'm having trouble figuring out how to accomplish this. I'm working on a script that is designed to backup and manage a java application that runs within a ...
0
votes
2answers
44 views

login process very slow over ssh to vagrant guest

Here's my problem, I have a 30-40 second delay after entering a username before I am prompted to enter a password, when I ssh into a vagrant guest VM. Setup is as follows: Windows 7 host, CentOS 6.5 ...
0
votes
2answers
67 views

SSH hangs when halting a remote system

I successfully used ssh -q -i pubkey root@192.168.200.122 'halt' for years now to halt a FreeBSD system (FreeNAS) from a linux box. Suddenly, from out of nothing this stopped working: ssh hangs ...
0
votes
0answers
8 views

Fail all login attempts from an IP address or IP range [duplicate]

I am noticing a large number of failed login attempts from a range of IP addresses (starting with 117.) How can I automatically fail all login attempts from this range?
13
votes
1answer
825 views

Is there a way to only allow a login to happen only at a specific time?

Every weekday, I log into my VPS (Linux) at about the same time (between 8am and 9am) using PuTTY. Is there a way to prevent or automatically fail all other login attempts at other times?
1
vote
0answers
21 views

Upload to SSH in XMODEM manner?

I know I can use scp command and copy any file whenever I can come with ssh client. But let see in more detail. Suppose I have ALREADY logged in with ssh client. This means that I have ALREADY ...
0
votes
1answer
27 views

Make SSH/gpg-agent not ask for passphrase for key it's not going to use

I have two SSH keys. id_rsa is my normal one with a passphrase, and id_lynx has no passphrase because I want it to be usable in a cron job (the user it logs in as is fairly restricted, don't worry ...
1
vote
0answers
36 views

Open SSH - issue logging in without password - public key

I'm having an issue where I'm unable to login by SSH - I've followed other guides and made sure permissions were set correctly, and that the publickeys on my local machine and remote machine match as ...
0
votes
0answers
14 views

Restrict access on home server

I have a RaspberryPI with Raspbian. I want to host some files on there and give access to my friends as well via FTP and SSH. I want to create a big shared folder of sorts where they can read/write, ...
1
vote
1answer
337 views

PuPHPet, Vagrant and SSH - SSH Connection Timeout

I built a new CentOS 6.5 vagrant box and after provisioning, the SSH connection keeps timing out. I've attempted the steps in Vagrant ssh fails with VirtualBox but I receive errors (see below). I ...
0
votes
1answer
29 views

end child process on network timeout

I have a .NET program (Edit: using MONO), call it myfoo that resides on my remote ubuntu server. To access it, I ssh into my box (using wifi, not ethernet). My bash shell starts up as normal, I cd ...
1
vote
2answers
38 views

SSH TERM detection

My ssh config file has accept env set as: AcceptEnv LANG LC_* I am a bit confused how when I ssh through some clients my TERM variable is set as xterm256-color, and other clients TERM is set as ...
0
votes
3answers
30 views

outgoing ssh fails from only one machine on lan to outside network

I have multiple servers in my LAN (which I'll refer to as Box1), and they are all able to make outgoing SSH connections, except one that stopped recently, which I'll refer to as Box2 (actually, I'm ...
0
votes
1answer
55 views

SSH tunnel through two servers to access a web service on port 9091

what I have is a "phone-home" service running at remote1 that connects to LAN1 via: ssh -N -R 16864:localhost:22 <myuser.on.lan1>@<lan1.ip> so from the SSH terminal on LAN1 I can easily ...
0
votes
0answers
16 views

multiuser centOS server with restricted access

I need to configure centOS server for multiple users. Every user must be restricted to homedir, have ssh access and be able to copy/move files. So i found a multiple solutions for this task: chroot ...
1
vote
1answer
33 views

Make (g)vim buffer a remote file

I regularly work remotely on a linux machine using vim. Sadly the connection to the remote host is not very good, giving me a very tough time. Is there a way to make my locally running vim or gvim ...
0
votes
2answers
58 views

How to connect 2 SSH clients through a SSH server?

Hi I want to remotely administer (command line interface) a linux box from my home Windows PC. I have an ssh client on the linux box. I have an ssh client on my home Windows PC. I have a login on ...
0
votes
0answers
19 views

Execute programs remotely from ssh

I need to start teamviewer Server on a remote machine, problem is, when i do this from ssh no matter what user i'm on, even after sudo su on root@machine. Seems like isn't possible to execute it, ...
0
votes
2answers
56 views

SSH from Windows to Linux VM. Cannot invoke firefox: no display specified

I have been at this for the past two days and still no luck. $ firefox Error: no display specified $ firefox & [1] 25977 Error:no display specified ^C ^C [1]+ Exit 1 I am on a Windows7 ...
0
votes
0answers
7 views

how to create a user non-login but can use ssh -CD create local socks proxy

I want share my VPS to other users, but they can only use it as a socks proxy server. It can allow ther user do ssh -CD 1080 -N user@host. But he can never login to the server, and modify any file. ...
-1
votes
2answers
43 views

How can I run badblocks and smartctl over SSH, close SSH without interrupting badblocks and smartctl? [duplicate]

I have a server with a hard drive I'd like to test using smartctl (smartmontools) and badblocks. I would use smartctl first, then badblocks. My question is three parts: How can I run the commands ...
0
votes
1answer
24 views

Reach ssh server behind a router on embedded system using established socket connection

I have developed an embedded application running linux to do remote I/O control. The application open a socket connection to my server to communicate, periodically, the state of the I/O and getting ...