Questions tagged [remote]
Working through the network with files, programs, etc., that are stored on a distinct machine from the original host.
699 questions
1
vote
0
answers
22
views
Irregular SSH dropped connections on Maxstartups
Good afternoon,
I'm running OpenSSH_10.0p2 Debian-7, OpenSSL 3.5.4 30 Sep 2025 on a Debian 13 6.12.57-1 (2025-11-05) VPS server. The connection is fine. However, I see irregular dropped connections on ...
1
vote
1
answer
82
views
How to add Basic Auth credentials to Flatpak remote requests?
I need to host a private Flatpak remote with restricted access by using Basic Auth (login/password). All I need now is to make Flatpak client add Authorization HTTP header with credentials to all ...
0
votes
1
answer
74
views
macOS: list all Users with Admin privileges
How can I get the list of all Users with Admin privileges, on all selected Macs, in Apple Remote Desktop?
I have tried:
dscl . -list /Groups/admin GroupMembership
But this does not list anything, not ...
2
votes
2
answers
508
views
Receiving " syntax error near unexpected token `then'" from remote Linux server with if, then, fi
I need help in determining why I get
syntax error near unexpected token `then'
from the following command:
for vm in {20..30} ; do ssh -q -o "StrictHostKeyChecking no" 192.168.210.${vm} &...
0
votes
0
answers
76
views
Comparison of content of two folders on remote cluster with rsync command
There is my home directory and its backup on the remote cluster.I used rsync command to check if home directory and its backup are completely identical:
rsync -rvnc data/ data2 >rsync_out-4.txt 2&...
1
vote
1
answer
121
views
Configure git repository on production server with remote source
It may be a vague question, but I can't currently find a good solution in my head.
I have a BookStack application running on a company server. To simplify and for security I have a custom .gitignore ...
0
votes
2
answers
79
views
rewrite linux image on device via ethernet
I have embedded device with Linux (stored in EMMC).
When i need to update Linux image (i have one .img file) i need to connect via serial terminal, edit boot_targets to start system from SD-card and ...
0
votes
1
answer
162
views
I need to run script on remote server which require root access using sshpass and its failing
I need to run script on remote server which require root access using sshpass and its failing with eror script not found. I ran below command.
sshpass -frhelpass ssh user@IP 'echo mypass | sudo -S &...
1
vote
0
answers
639
views
GDB remote: step/next "Cannot find bounds of current function"
I'm trying to run GDB remote debugging on a single source file, very basic C code, and I'm hitting a wall on something that seems like it should be completely obvious. Specifically, I cannot figure ...
1
vote
0
answers
28
views
Ubuntu VM running on HyperV Windows 10 machine remote login will not stay toggled on
I have an Ubuntu VM running in HyperV on a Windows 10 machine. I'm trying to configure Ubuntu to allow remote logins so I can use Remote Desktop from my Windows host to login, but the toggle that ...
0
votes
2
answers
157
views
Is my Linux inside virtual box being hacked or is it my base system; windows which is compromised?
There's a Oracle Linux running inside a Virtual Box, which is running on Windows 11 home.
Need help understanding:
Is there any chance of any of either the linux or , as this clearly appears to be a ...
0
votes
1
answer
162
views
ssh remote port forwarding in systemd
I would like to execute this command
ssh -R 2200:localhost:80 user@"myddns.net"
at every startup of my fedora system (note that the command itself is working in a shell).
I thought to use ...
1
vote
1
answer
116
views
Remote journal over AutoSSH tunnel
I'm having several remote sites (test setups), each having multiple Linux devices, uploading their journal remotely to Raspberry Pis in that remote site. I'm trying to forward these journals via ...
0
votes
1
answer
406
views
Why would apt fail to login using conf file information in auth.conf.d?
Quite a tricky problem, this one: I've set up a custom Debian repository on a remote server (let's say, example.com), which is served at https://example.com/aptrepos, and for that path I've set up ...
0
votes
1
answer
284
views
systemd - service fails to start on server boot
I made a system service on remote VM that should start on boot as suggested here:
[Unit]
Description={removed}
Wants=network-online.target
After=network-online.target
[Service]
User={my username}
...
0
votes
0
answers
51
views
execute a script on different remote machines on multiple files
I want to execute a script which is located on different machines. On each machine there is a set of files which the script should scan. I have something like this but it does not work:
for host in ...
1
vote
0
answers
21
views
While Loop Exits After Calling Function [duplicate]
I'm trying to do a db backup script using Bash.
When adding a "Resume" feature to the script, I do the following loop calling defined functions to do step by step (depending on the .lock ...
1
vote
1
answer
740
views
Error when setting up Google Remote Desktop on Ubuntu 24.04 LTS
I'm trying to set up google remote desktop from my Ubuntu system but I am getting the following error once I input the PIN number:
/opt/google/chrome-remote-desktop/start-host --code="4/...
0
votes
2
answers
334
views
tar: ./.tar.gz: file changed as we read it | "Flagged" files are unrelated to the file tar is supposed to operate on
I am trying to use tar to recursively compress all files with the .lammpstrj extension within the directory tree starting at the directory whose path is stored in the variable home. home contains the ...
1
vote
1
answer
1k
views
scp from remote Linux server to local windows 11 machine returning "no such file or directory"
So I'm trying to download some data from a remote linux server onto my (unfortunately) windows 11 machine using the scp command in windows powershell. While I can send data to the server just fine, ...
0
votes
2
answers
188
views
SCP from A to C via B without making intermediate copy at B [duplicate]
I haven't seen this issue before, and I have been struggling for days, so I would be so grateful for some help.
I have a tar on my Desktop (Desktop) that I am trying to copy
to a remote server using ...
0
votes
0
answers
267
views
diff -qr command between local and remote directories
According to this process substitution can be used to do a SIMPLE diff between local and remote machine. However, I want to use the -qr option in the diff command, i.e., it must be recursive and brief ...
0
votes
1
answer
274
views
Issue with using SSH with jump host
From outside my network I can access my outside-facing server using a public-key with:
ssh [email protected]
From that shell, I can then access another server on the network (typing in the password) with:
...
1
vote
1
answer
170
views
Is it possible to move transmission (with all running torrents and downloaded data) from ubuntu GUI onto a transmission-remote server?
I currently have transmission running on a PC running Ubuntu desktop which I leave running continuously.
It currently has over a hundred torrents in various levels of activity uploading and ...
2
votes
0
answers
148
views
SSH client with instant input echo
When using the terminal on code-server (VSCode probably does it as well), input is instantly shown on screen (grayed out, until the server actually responds):
When I connect to the remote machine ...
0
votes
1
answer
955
views
Unable to SSH into remote machine but able to ping - VPNC
I'm writing and posting the solution that I found with a recent issue regarding VScode remote server, ssh and VPNC. Yep, I lost to much time on it, hope to save your time.
Issue
I had to change VPN ...
0
votes
2
answers
255
views
Counting Files in Remote location using sftp in shell script
Getting Error with the below command to check on the Remote directory a specific type of files. The requirement is to get the count of the specific files.
file_exists=$(sftp $FTP_UNAME@$FTP_HOST ls *$...
-1
votes
2
answers
243
views
Rsync with multiple wildcards
How can I rsync all files of multiple types from a remote server? E.g. I want to rsync all pdf's and png's from a folder on the server.
This raises a syntax error: rsync REMOTE_SERVER:REMOTE_PATH/{*....
0
votes
0
answers
248
views
Is possible restart a suspended system remotely?
For Ubuntu and Fedora based on GUI - both as remote clients - in a laptop (and even PC) is possible execute remotely through either SSH or Remmina the following command:
sleep 15 && systemctl ...
0
votes
1
answer
172
views
Remote Ubuntu PC becomes very slow when run in background
I am using my Ubuntu remotely via SSH mainly to use Python and manage data science projects. I usually run my scripts through shell files. I use tqdm to track processes times.
When I disconnect from ...
0
votes
0
answers
244
views
gnome apps very slow to start on on remote X server, other apps ok
I'm using meld to compare some files, on a machine running SLES 15 SP 1, and with the X server running on a Windows desktop; it's MobaXTerm's embedded X server, which I believe is Cygwin'ish.
For some ...
0
votes
0
answers
148
views
Remotely control folder access on Ubuntu
I'm looking for a way to remotely control the access to a specific folder on a raspberry pi running Ubuntu 22.04 LTS.
This access needs to be changed regularly, so it has to be easy to change. Working ...
0
votes
1
answer
298
views
DD remote disk from windows
I am trying to image a disk for one of our network appliances and am running into an issue with saving the output file.
This is the command:
ssh [email protected] shell "dd if=/dev/md0 |gzip -1 -&...
0
votes
1
answer
181
views
Reboot into new OS image Remotely
I have a few old rpi 3b+ still running stretch which i would like to upgrade to either bullseye or buster. They are all remote and i access them via AnyDesk or reverse ssh tunnels as a backup.
I have ...
0
votes
1
answer
1k
views
mail: unrecognized option '-S' | sending mail from linux server
I am trying to run a bash to send emails from my linux server. I am using the following command:
echo "This is the message body" | mail -s "This is the subject line" -a "From: ...
0
votes
1
answer
961
views
How do you connect Wine (Linux/Debian) to a Windows Remote Desktop?
How do you create a remote connection from Wine/Linux to Windows OS? I had been wanting to connect to the Linux Environment on my Chromebook for some time. I want to try to play games on my Chromebook ...
0
votes
1
answer
1k
views
chrome remote desktop appears offline even when the computer has internet
I have two computers one with Windows 11 and another with Ubuntu 20.04. I need to access the Ubuntu computer from the Windows 11 and I need help doing it.
I installed Chrome remote desktop on the ...
0
votes
2
answers
129
views
use a central linux machine for ssh authentication
I have multiple Linux machines that I want to use the credentials from a central, network reachable, machine to avoid the hustle of distributing passswords from the central machine to each machine.
Is ...
1
vote
1
answer
338
views
Use sshfs session to run commands on the remote
Something has happened with the SSH process on a remote server so that now when trying to connect it rants:
kex_exchange_identification: read: Connection reset by peer
It looks like the SSH daemon ...
2
votes
1
answer
896
views
SSH Key issue - Fedora 38
I've a remote server with at least 2 users (root and myself).
I've the same keys in .ssh/authorized_keys in both $HOME folder.
I can connect with the root account, but from my account i've a "...
0
votes
1
answer
2k
views
Unable to reboot remote machine over ssh
I am working with an embedded system and would like to initiate a reboot from a remote machine.
I have tried various methods, including
ssh -o StrictHostKeyChecking=no root@${HOST} /bin/systemctl ...
0
votes
1
answer
181
views
Writing permission to symlink
I have a directory (linux container) on a remote server to which I don't have writing access. I created a symlink to use this container locally. When I run the symlink of the container with docker ...
0
votes
1
answer
746
views
Linux Bash Script Remote Server
I have a Bash Script which I want execute the commands like:
Download apache service
sudo apt-get install apache2 -y > /dev/null 2>&1
Download mysql service
sudo apt install mysql-server -y ...
0
votes
0
answers
133
views
Winexe error NT_STATUS_LOGON_FAILURE executing script from Linux to Windows Server 2012
I've installed winexe on my linux machine. I want to use it to execute some script on a Windows Servre 2012. It doesn't work, the error is NT_STATUS_LOGON_FAILURE.
I've followed this guide to install ...
0
votes
1
answer
136
views
Remotely rebooting linux mint server(SSH): permission denied (needed to enter password manually in the server)
I have a simple ssh server setup, an old Macbook air (XFCE Mint). I'm new in the topic and would like to try out some of the basic commands. tried rebooting the server by reboot from my client, ...
1
vote
1
answer
288
views
How to pipe terminal interaction with running process over network?
How can I run a program that expects to be executing in a terminal in such a way that it's STDIO can be arbitrarily connected-to remotely?
Specifically, I want to be able to launch gdb on one host and ...
1
vote
0
answers
2k
views
Ubuntu Remote Desktop through Real VNC error "The connection closed unexpectedly"
I have installed ubuntu on a PC at a remote site. Now I wanted to access it from my home. I got it after I promptly followed the instructions on https://linuxhint.com/disable-screen-lock-ubuntu/ That ...
1
vote
2
answers
554
views
How to prevent other users from creating new SSH sessions?
When I work on Linux test server (Debian 11) I have root, and want block other users open new session to this server during my work.
Is it possible?
0
votes
1
answer
112
views
SCP from a distant server with a cumulative size limit
I want to copy a number of files from a distant server to local computer, such that the total size of the files does not exceed certain limit, as I do not locally have enough disk space; and the files ...
0
votes
1
answer
67
views
Add a remote location through a login machine
I have my Ubuntu laptop (call it A) and I want to add a computer (call it B) to the "Other locations" tab of nautilus. The problem is that I can not ssh directly from A to B, but through a ...