All Questions
Tagged with remote-access ssh
142
questions
-1
votes
0
answers
23
views
Issues with PiVPN Wireguard Port Forwarding on Ubuntu Server
I'm experiencing some difficulties with setting up PiVPN with Wireguard on my Ubuntu server. Here are the details of my setup and the issues I'm facing:
Setup:
Ubuntu Server: Running on my home PC.
...
0
votes
2
answers
241
views
Remote access from home when I'm doing a home lab
How can I access my Ubuntu Server GUI away from my home network?
0
votes
0
answers
318
views
Remote SSH access to a ubuntu server in a different network with port forwarding
I am badly facing a stone wall while trying to remotely ssh into a local machine via Port 22 from anywhere outside my local network.
I have a local machine running with Ubuntu Server and a Fritz box ...
3
votes
3
answers
2k
views
How to access my computer's terminal in the university dorm from another computer?
I have used ssh to access remote computers/servers where they provided me a username, a password, and an IP address (like xxx:xxx:xx.xx). What I need to do is:
ssh [email protected]
and then it ...
0
votes
2
answers
2k
views
Chages to sshd_config not disable password only login
I have Ubuntu 22.04.2 LTS installed as a virtual machine (Windows Hyper-V). I am making the following changes to /etc/ssh/sshd_config
PermitRootLogin prohibit-password
PubkeyAuthentication yes
...
1
vote
1
answer
328
views
SSH service not responding
I have a headless Ubuntu running on a regular PC in my garage. I use SSH to access it. It's running a good handful of Docker containers, including dashdot which indicates the CPU is under normal load ...
0
votes
1
answer
40
views
Possible to connect remotely only once. Repeated access required for second or more connection
My office laptop has Ubuntu 18.04 OS. I used to seamlessly connect via RDP(xRDP) and VSCode from my Windows laptop. Few weeks backs I was on short vacation and when I assumed my work I am not able ...
0
votes
0
answers
1k
views
Trying to ssh into IPv6 address, getting "no route to host"
I have a home computer that uses Ubuntu 22.04, that I'd likely to remotely SSH into, from the internet. I'm trying to do this through its public IPv6 address. The address doesn't begin with fe80::, so ...
0
votes
1
answer
789
views
Is the ~/.bashrc file user specific when I am connected to a remote system using Secure Shell (SSH)?
I am doing work on a remote computer using Secure Shell. I would like to add aliases to the ~/.bashrc file, but only if this edit applies to my user only. So the question, as the title states, is ...
0
votes
0
answers
221
views
Is there a way to switch to a user of a remote machine like normal user?
I am planning to use a Raspberry Pi as my secondary pc(Ubuntu). Like how I switch to users on my primary machine(Ubuntu 20.04 ) navigating to the top bar, clicking on the Power Icon then selecting ...
2
votes
0
answers
20
views
VNC not working when Desktop Sleep [duplicate]
I need to use VNC client on an Ubuntu Desktop. When the machine is not sleep, I do VNC. But it is sleep, and I try to connect with VNC, it will say the machine is not up. Is there a method that allow ...
0
votes
0
answers
1k
views
Allow different users to connect to a ssh server (openSSH)
I'm new at this: I'm trying to set up a ssh server on my personal
computer with openSSH. So far, I was able to connect to my server
through my computer and also from a different computer in the same ...
0
votes
1
answer
664
views
Setting up a reverse SSH tunnel to access remote ubuntu pc from windows
My work desktop is an Ubuntu, and I'm trying to access it from home through a Windows laptop.
Something like TeamViewer doesn't work, since these kinds of remote access options are blocked by the ...
-1
votes
2
answers
101
views
Connect two PCs over Internet
Suppose I have 2 PCs running linux (say, Ubuntu 20.04). One of them is mine, other one belongs to a person who lives in another city district.
These are ordinary PCs: they both access Internet through ...
19
votes
4
answers
2k
views
Seeking an "operator present" indication for a remote system accessed over ssh
An elderly relative uses a Ubuntu 18.04 + LXDE desktop, mostly just for internet browsing and to play a few word games. They rarely shut the PC down...last time I checked, it had been turned on for ...
0
votes
0
answers
100
views
ssh to a remote terminal and bypassing dotrc files
I want to rapidly execute a remote command using ssh, for example ls -al /path/to/myfile. Unfortunately, I'm using tcsh rather than bash.
My .cshrc file is quite long and slow, so I'd like to bypass ...
0
votes
0
answers
3k
views
How to use my laptop camera with SSH using my PC?
My PC and laptop are both connected to the same router, and I would like to turn the laptop camera and have it live feed on my PC.
My PC using Ubuntu 20.04 and Laptop Elementary OS6.
0
votes
1
answer
1k
views
Logged into remote server with key but can't upload file with scp
New to Ubuntu, I logged into my institution's remote server having generated a private/public key pair. I was set up with a username after sending the administrator the public key. I should have been ...
0
votes
0
answers
380
views
How to connect to a server via 2 Jump host servers ? (For SSH and File transferring)
I currently use Mobaxterm on top of Wine for this task. But Mobaxterm runs very slowly in my Ubuntu 20.4 VM and most of the time, it gets stuck. Is there any other easy solution for SSH and File ...
1
vote
0
answers
384
views
Bash script how to run a command remotely and then exit the remote terminal
I'm trying to execute the command:
ssh nvidia@ubuntu-ip-address "/opt/ads2/arm-linux64/bin/ads2 svcd &"
This works so far except that it hangs in the remote terminal when "/opt/ads2/...
1
vote
0
answers
253
views
Remote SSH disabled after each reboot - Sharing
I have a desktop installation of Ubuntu 20.04 with X11. I have installed SSHD, and enabled Remote Login in the Sharing page of Settings in the Desktop.
Then it works to SSH into the machine from a ...
0
votes
1
answer
156
views
Get output command from multiple machines simultaneously
I have multiple machines on the same LAN, and I would like to get the top/nvidia-smi status of all machines in a single command, E.g by dispatching
nvidia-smi-all
from one of the machines.
The output ...
2
votes
1
answer
21k
views
ssh public key problem: /usr/bin/ssh-copy-id: ERROR: No identities found
I have two users each with their own computers running Ubuntu. I want to remotely access one of them (say the desktop server) from the other one (say the client pc).
I'm trying to enable public key ...
0
votes
2
answers
546
views
Remotely kill a running process in an Ubuntu system with no space left
EDIT
I had to go to the console and reboot, as it was unresponsive to any command.
I am trying to ssh to an Ubuntu 18.04 server, and it is unresponsive.
But it responds to ping.
I suspect it has a ...
0
votes
0
answers
278
views
ssh no username
I am trying to write some scripts and I have noticed that I can login on servers without username.
I have looked around and the answer was that both the localhost and the remote host should have the ...
0
votes
0
answers
63
views
Ubuntu Server 16.04.5 - Unable to connect remotely on SSH
Update
So I tested another computer and I can externally connected to SSH. So it appears I have an issue with routing in the Ubuntu server network configuration. Can anybody help me identify what ...
0
votes
0
answers
224
views
Connecting to folder on remote machine using SSH-key - Ubuntu-flavor with suitable file-manager?
OK, this may come-out as newbie-question and a shot in the dark, but here goes...
I would like an easy way to connect to a folder on a remote computer (a VPS I run), ideally through a folder/...
0
votes
1
answer
448
views
How to connect remote machine by remote user name?
How to connect a correct remote Linux by using Remote Linux user name because my IP keeps a change.
Note: my remote PC and my PC always connect the same wifi
0
votes
0
answers
548
views
How to achieve perstistence with ssh keys using ssh-add
I'm trying to make my ssh keys permanent. I tend to use crazy passwords and typing it in every time destroys workflow. I have two keys, one with to a remote server and one for github. I would like to ...
0
votes
2
answers
8k
views
Ubuntu mobaxterm that has drag and drop
I am using my pc to connect to the server with GPUs and need to do a lot of transfers. I used mobaxterm when on Windows. It has drag and drop which is very convenient. Is there a similar tool on ...
0
votes
1
answer
418
views
How to see activities performed from WinSCP on ubuntu system
I frequently connect to ubuntu machines from WinSCP to perform some file actions like copying or deleting files. But these actions do not get recorded in any of the logs(Not that i know of) of Ubuntu ...
0
votes
0
answers
2k
views
sh: connect to host hostname port 22: Connection timed out
I have trouble connecting to a server with ssh from ubuntu 16.04. I can't get to the address online either.
When i try connecting through terminal i got the following error
ssh: connect to host ...
1
vote
2
answers
2k
views
Making all folders not readable to "others" - but keeping their original status regarding "write" and "execute"
TLDR: How can I change permissions of all folders in the computer such that, for "others", the folders loose only readability? In other words, they keep their status regarding "write" and "execute", ...
2
votes
1
answer
14k
views
Permission denied, please try again
I'm trying to connect to another computer in my house via ssh.
Both computers have ubuntu and openssh installed. When I run the command "ssh username@ip" on terminal I'm asked for the user's password ...
1
vote
0
answers
1k
views
sshfs "reset by peer" after new installation of server OS
I'm trying to mount a drive from my work PC to my home PC using the command below:
sudo sshfs -o allow_other [email protected]:/ /mnt/home-pc
This command was working fine before. However, I've ...
2
votes
1
answer
3k
views
How to open remote folders in Dolphin
We have multiple repositories on our server, that we can only compile and run on that server. I have a XUbuntu machine and on Thunar I mount the remote folder with ssh://[email protected]. Then, ...
2
votes
1
answer
503
views
Using sshfs on C accessed via A and B
The current set up I am working with requires me to ssh onto a machine C by first ssh-ing into A and then into B. Something like this:
ssh [username]@[university].com # Machine A
ssh [department] # ...
2
votes
1
answer
3k
views
External connection from SSH [closed]
I installed on my Ubuntu 16.04 the openssh-server and wanted to access my pc remotely through the terminal of other networks, such as the university, for example, but I'm only able to access through ...
1
vote
1
answer
2k
views
How to config ~/.ssh/config file to remotely access server inside domain
I maintain a server on weekly basis that is located inside a client company's network while connected via checkpoint network extender.
I'm able o access with no issues using ssh [email protected]@...
-2
votes
1
answer
658
views
Is remote access possible when SSH and Telnet are disabled?
My SSH and Telnet are disabled.
If someone on my home network has my root password of my Ubuntu workstation
can he gain remote access to my PC?
0
votes
1
answer
405
views
Why [machine_name].local works when remote login is enabled?
I noticed that my 18.04 has "Remote Login" (Settings => Sharing) setting. When it's enabled you can SSH to the machine (ssh [machine_name].local). How does this work? How do the other machines ...
1
vote
1
answer
8k
views
How to add an ssh key from other computer to my Ubuntu server [duplicate]
how can I add an SSH-key generated from a computer of a friend to my server?
Currently I don't have access to his computer he just sent me his SSH key.
0
votes
0
answers
783
views
Connect two Ubuntu Computers via ssh (internet)
Every tutorial I watched displayed how to connect two machines via ssh locally. But what if I want remote control via internet?
I know that IP addresses which start with 192.168 are local and ...
5
votes
1
answer
5k
views
Access remote multiple servers behind NAT
I have a situation where our Ubuntu servers were deployed across multiple remote locations. These servers were behind a carrier grade NAT and also an internal NAT. Now from a central location I want ...
1
vote
1
answer
359
views
SSH : User can only access a particular folder in webroot [duplicate]
I would like to create a user which can only access and administer a particular folder via SSH situated in webroot of the server. Been through many blogs..none of them helped. I am using ubuntu server ...
1
vote
0
answers
492
views
read variable value from xterm and export value in another bash file
I am trying to do a remote desktop connection between Ubuntu desktop and another Ubuntu system. I want to develop an application so it is necessary to use shell command.
ssh -X or -Y username@...
0
votes
1
answer
7k
views
Run local script in other machine using ssh
I have a script in my local machine and i want to run it in remote machines without copy this script in each machines by using ssh.
currently I use scp to copy this script in remote machine and then ...
3
votes
2
answers
16k
views
Is it possible to run some SSH commands using SFTP?
Having me not knowing much about Ubuntu; this is my first question here. So excuse me if it looks invalid question.
I was told that its possible to run some SSH commands using SFTP.
If that is ...
0
votes
1
answer
2k
views
How can I allow SSH into my computer when I'm away? [closed]
So let's say hypothetically I am going to be away from my desktop but I'd like to be able to SSH into it when I am out and about.
Is it as simple as adding a NAT / port forwarding rule to my router ...
0
votes
0
answers
2k
views
Access Ubuntu Server Over Internet
I am setting up my home server (Ubuntu Server 17.10) to access from work. I have created a static IP address for it and forwarded a port to it. Due to the answer here: https://askubuntu.com/a/51926/...