Questions tagged [ssh]
Secure Shell (SSH) is a protocol primarily for encrypted shell connections. This tag is also used for questions about sshd and openssh, the two standard applications for using SSH.
9,020
questions
0
votes
0
answers
15
views
rrsync command in authorized_keys refers to non-existing dir [duplicate]
I want to restrict rsync using the command option to the ``rrsyncscript inauthorized_keys`:
command="rrsync -ro /home/server_backup",restrict ssh-ed25519 AAA...
But when calling rsync from ...
0
votes
0
answers
10
views
Unable to ssh to ubiquiti cloud gateway ultra
I have ssh enabled in the cloug gateways settings and set an ssh password. I'm using putty.
It will not accept my credentials. I had tried root and the ssh pw. I have tried admin and that password. I ...
1
vote
1
answer
43
views
Locking down SSH access for rsync wrapper script
I use an rsync wrapper script to synchronize or backup to/from various directories on different servers. The script invokes rsync (obviously), and in some configurations ln on the server.
Restricting ...
0
votes
0
answers
19
views
Jumphost vs. restrictive sshd and ufw config [closed]
Is there any advantage to creating a jumphost for VPS machines (used as webserver, mailserver etc) just to secure SSH access to those machines compared to a restrictive sshd and ufw configuration (in ...
-1
votes
1
answer
30
views
How to authenticate for uploading files for ssh in php [closed]
I can connect securely to my Linux server on Windows using puTTY and Core FTP LE, both to root and to user "spring".
But I want to connect using a Windows PHP program to user "spring&...
0
votes
0
answers
53
views
SSH: Connection reset by port 22 (same subnet)
I'm setting a public server A at home, just a regular telecom router. The thing is that I can ssh to my server A from outside but I got the "connection reset" from the local which has the ...
1
vote
0
answers
27
views
rsync performs checksum even when files have different sizes
I'm testing rsync on WSL with two local paths and I see when I use --checksum switch, it starts calculating ALL source files' checksums, even if target file has a different size that obviously ...
0
votes
1
answer
29
views
Cannot SSH compute engine VM because "gpasswd: /etc/group.3718: No space left on device"
I can't access SSH from anywhere, not able to auto create ssh user ssh key, so how can I free/cleanup my VM device space?
trying access via serial port output
0
votes
0
answers
23
views
Very slow upload speeds From FileZilla to server
I have a Debian server running OpenSSH that I'm finding I get very slow uploads to using SFTP with FileZilla. speedtest.net shows I have about a 20Mbps upload speed but when I upload 2 files ...
0
votes
1
answer
42
views
Creating an SSH connection with double NAT
I am trying to figure out how to create an SSH connection in my current setup which is:
my public IP is that of the mobile ISP I use - and it's shared across many users
my ISP then assigns me a ...
0
votes
1
answer
108
views
systemd user service: ExecStartPost not running, service stuck in 'activating' state
I have a systemd user service file ~/.config/systemd/user/ssh-agent.service, the purpose of which is to ensure that I always have my ssh-agent running, and a particular passphrase-less SSH key loaded ...
-1
votes
1
answer
54
views
How to secure a backup server when i send data via ssh
When I backup another server, I put my private key on the server to be able to send with ssh the data I want to backup.
But if a hacker compromises my server they will also be able to access the ...
0
votes
1
answer
86
views
Ansible: how to explain that sometimes $HOME environment variable is set and sometimes not?
With ansible it seems that sometimes the following code will work as expected:
- name: "copy some script"
become: yes
become_user: "{{ tomcat_user }}"
ansible.builtin.copy:
...
0
votes
2
answers
72
views
How can I select the proper ssh passphrase under cron
I have a couple of ssh clients that I want to automatically set up a ssh-tunnel to a server.
To this end I am using cron and sshpass.
Depending on the history of the server it may for example expect a ...
0
votes
1
answer
63
views
Can't remove keys from ssh known_hosts: invalid line
After openssh-server upgrade it is impossible to remove old keys from known_hosts file because ssh-keygen gives:
$ ssh-keygen -R oldserver
/home/grin/.ssh/known_hosts:1: invalid line
/home/grin/.ssh/...