Questions tagged [remote-access]
the process of accessing a system remotely, over the network. eg via vnc or ssh.
486
questions
166
votes
4
answers
646k
views
Can I access Ubuntu from Windows remotely?
I have Ubuntu installed on my work computer. I am wondering whether I could have access to it from another computer with Windows installed. If so, could you give a step by step guide?
160
votes
8
answers
161k
views
How do I SSH to machine A via B in one command?
I want to access a computer, say machine A which is based in my university's network. However, this computer is only accessible via the internal network of the university, so I can not use SSH to this ...
112
votes
15
answers
277k
views
Can you set passwords in .ssh/config to allow automatic login?
I'm using Ubuntu 11.10 and ssh for connecting to many servers daily, so I put their parameters in the .ssh/config file like this:
Host Home
User netmoon
Port 22
HostName test.com
Is there a way to ...
97
votes
6
answers
322k
views
sudo: no tty present and no askpass program specified
When attempting to run a remote binary using sudo on the remote box:
ssh remotehost "sudo ./binary"
I see this error:
sudo: no tty present and no askpass program specified
How can I work ...
66
votes
3
answers
99k
views
How do I disable remote SSH login as root from a server?
For security purposes my company wants me to not allow anyone to be able to log into our Ubuntu server as root remotely over SSH. We still want the root account to exist, we just do not want it to be ...
60
votes
10
answers
631k
views
ssh: connect to host myremotehost.com port 22: Connection refused
So I am trying to get ssh working on my server. I can connect on my local network with the local ip address of the server perfectly fine. When I try to connect remotely (through a domain name that I ...
57
votes
6
answers
183k
views
Remotely access postgresql database
I need to access a postgresql database from a remote machine on a VPS at DigitalOcean running 12.10 and postgresql 9.1.
How do I do this? I noticed port 5432 is closed, how do I open this?
49
votes
12
answers
276k
views
Blank desktop when logging in via xrdp
I am trying to access Ubuntu 11.10 using Remote Desktop from a Win 7 machine. I installed xrdp. I launch the Windows remote desktop client and login in. I then get prompted for the user name and ...
43
votes
5
answers
123k
views
How can I install Ubuntu on a device without a screen nor a keyboard?
This is tricky. I would like to install Ubuntu on a machine that is intended to work as server, and for some reason I do not have an option to connect a screen to it.
I expect this may be similar to ...
41
votes
7
answers
99k
views
How to run an SSH server without a static IP address
I have a powerful computer in the lab and I installed Ubuntu 11.10 64-bit on it. I want to install an SSH server on it, so I can reach it from home and even from my Android via ssh. But I haven't got ...
40
votes
6
answers
254k
views
What do I need for remotely accessing my Ubuntu 14.04 desktop?
I am at a loss as to how to set up my machine for remote connection. Do I need to install a VNC server (which one?) or is Vino (installed by default) enough?
I opened Desktop Sharing Preferences ...
37
votes
2
answers
20k
views
Disable password access through SSH?
I'm setting up a server for backing up my desktop box remotely. I want to prevent remote password access to the server, permitting only users with private keys (AKA my desktop box) to access it. How ...
37
votes
4
answers
177k
views
How do I remotely control another Ubuntu desktop from Ubuntu?
How do I remotely control another desktop (both are Ubuntu 12.04) from my client machine?
Is it possible to use Remmina Remote Desktop Client?
36
votes
4
answers
45k
views
What free Remote Desktop (server) solutions are there?
I know Ubuntu comes with a "Remote Desktop" option that appears to be a straightforward VNC server, and I'm trying to understand the alternatives. Here are the possibilities I've heard about so far:
...
31
votes
2
answers
51k
views
How to change Gsettings via remote shell?
I need to automate desktop configuration via Puppet, virtual terminal or ssh.
Unfortunately, invocation of gsettings via ssh or virtual terminal gives:
gsettings set org.compiz.core:/org/compiz/...
28
votes
11
answers
489k
views
Unable to do remote desktop using xrdp
I have an Ubuntu virtual machine to which I need to do remote desktop. I do not have physical access to that machine and I can do only ssh to the machine. I wanted to do remote desktop and came up ...
27
votes
17
answers
253k
views
How to copy/paste text from remote system?
I used to access a remote system via VNC viewer, but when I copy some text from the remote system and paste it in my text editor(local system), nothing happens. Do I need to install any additional ...
26
votes
6
answers
68k
views
Switch encoding of terminal with a command
One of the servers I quite often ssh to uses western encoding instead of utf-8 (and there's no way I can change that).
I've started writing a bash script to connect to this server, so I won't have to ...
25
votes
2
answers
17k
views
Scheduling a reboot on a remotely located Ubuntu server
I work on a ubuntu server located in a place where I don't usually go. I use ssh over openvpn to access it. The machine has multiple wired interfaces, many static routes and multiple default gateways ...
25
votes
6
answers
108k
views
Remote Desktop from Windows onto Ubuntu 22.04 takes me to a XRDP login then a blank screen
I'm trying to get the Remote Desktop feature working on Ubuntu (Desktop) 22.04, but I can't seem to connect to my Ubuntu desktop from a Windows (10) PC. I'm using these instructions:
https://help....
21
votes
3
answers
91k
views
copy with ssh with port other than 22
How do I copy files from my local to some remote server which hosts ssh on port other than default (22).
I usually connect to the server using
ssh [email protected] -p 2000
Now I need to ...
21
votes
4
answers
86k
views
Use "Connect to Server" to connect via SFTP to access a folder in a remote server
How do I connect to my remote sftp account using ubuntu's "Connect to Server" option? When I have the "Connect to Server" dialog box on my screen, the "Service type" ...
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 ...
19
votes
3
answers
45k
views
How can I share my desktop using Skype?
I'm running Ubuntu Lucid Netbook Remix on my laptop and I need to be able to share my desktop for a Skype call. Does anyone know how to get this done?
19
votes
4
answers
36k
views
How to automount a gvfs file system on logon
I configured a remote folder in nautilus. I always need this remote folder, so I created a symbolic link to it in my home folder: ln -s ~/.gvfs/remote_folder ~/remote_folder.
Though, when I first ...
19
votes
5
answers
41k
views
How to access an ubuntu machine via VNC from the login screen?
I want to access an Ubuntu machine remotely via VNC. But I can access the Ubuntu machine only if the user is logged in. I want to access the ubuntu machine via VNC from the login screen itself. We can ...
18
votes
6
answers
25k
views
Execute a command on local computer from a connected remote SSH host?
Say I have connected to a remote computer via SSH. From a program on this remote computer, I need to execute a command on my local computer (the connection initiator).
Which raises the question: is ...
17
votes
5
answers
8k
views
Create a custom shortcut that types clipboard contents
I want to simulate keyboard input so that I can "paste" my clipboard contents to applications that don't allow it (e.g. remote KVM). Right now, I'm trying to use xdotool and xclip:
xdotool type "$(...
17
votes
3
answers
34k
views
How to connect to existing X session without unlocking physical display?
I usually leave many programs running on my workstation and sometimes I need to use it remotely. So I need to connect to existing X session, while keeping physical display (workstation's monitor) ...
16
votes
1
answer
21k
views
How to acquire a remote host fingerprint that is not in known_hosts?
ssh-keygen -l -F host will print out the key of a remote host, but only if the host exists in known_hosts.Is it possible to request a fingerprint from a host that isn't in the known_hosts file? (...
15
votes
5
answers
38k
views
What is my computer IP address knowing that I have a router?
My computer is connected to the Internet through a wifi-router. I want to have access to my computer remotely, for example using ssh.
When I ask my computer what my IP address is, for example by going ...
15
votes
3
answers
17k
views
Resuming a vim session I have accidentally disconnected from
I came across an unusual problem today,
I was using vim, had created a new alias in bash, and wanted to try it out.
So I ctrl-z, exec bash (I do this because I don't like nesting it with bash).
...
14
votes
6
answers
26k
views
Is an online Ubuntu terminal emulator available?
I want to play around with some terminal commands from official Ubuntu packages, but at the moment I don't have access to an Ubuntu PC.
Is there an online and free terminal emulator running, say, ...
13
votes
3
answers
18k
views
How to enter the Default Keyring password via the command line?
Is there a way to enter the default keyring password using the command line?
For instance:
You have a remote setup of Ubuntu 10.10 thats set to auto login. You don't want to remove
the keyring ...
13
votes
1
answer
20k
views
Xrdp - How do I connect remotely to an existing local session?
My OS is Ubuntu 16.04 (Unity), but I am using the Xfce4 (apt get xfce4) interface. I want to connect from a Windows 7 PC (using the standard remote controll) and from a Linux OS via rdesktop.
I want ...
13
votes
2
answers
86k
views
Is it possible to connect remote system using mac-address?
Is it possible to connect remote system using mac-address in Ubuntu? I don't want to use IP address. Both systems are in same LAN.
12
votes
5
answers
98k
views
Cannot connect remotely using ssh
I have recently installed an ubuntu 16.04. I have installed ssh server and the sshd service is up and running.
I have some other PCs in the same network (windows, mac, ubuntu 14.06) and I can ping ...
11
votes
4
answers
6k
views
Use real browser instead of w3m on SSH connections
I am using Ubuntu as desktop and server OS.
When I am logged in to the server via ssh on terminal and have to view a web-page (localhost) on the server I use w3m (w3m localhost).
Unfortunately w3m is ...
10
votes
1
answer
10k
views
How to mount a remote (over SSH) directory to be available like a local directory (incl. in shell, not just in Gnome)? [duplicate]
I've got my files (mostly text/code, nothing of heavy like videos etc.) in a directory on a remote server which I can only access by means of SSH. Can I mount it on my laptop to use it seamlessly from ...
10
votes
1
answer
19k
views
NX/SSH remote access with Remmina
After many days and a lot of frustration, I managed to get freenx to work on my home server. I can connect to it with nomachine's linux client, but I want to use Remmina for this purpose. The problem ...
9
votes
4
answers
38k
views
Opening the file browser of the remote machine via terminal and moving files around?
I can SSH to my remote desktop machine via my laptop and launch its file browser via terminal by:
nautilus
but I would like to be able to drag and drop the files from remote machine to my local ...
9
votes
3
answers
22k
views
How to securely ssh into a machine at home over the internet
I will be travelling shortly, and I have a machine that run runs a bunch of cron jobs etc. I need to log in remotely to check the results of the jobs run and to do some work on the machine.
Here are ...
9
votes
5
answers
5k
views
Access folders with sudo priviliges via Nautilius-Connect to remote server
I need to access the /var/logs folder & many such folders on my remote server from nautilus, using "Connect to server" via ssh. I avoid root logins & have disabled it. I would like to use sudo ...
9
votes
5
answers
18k
views
Why can't Ubuntu access my Raspberry Pi across LAN?
Okay, I recently got a Raspberry Pi, and I got it connected to my Wi-Fi - I enabled the SSH and installed Hiawatha, and I could access it just fine from my Desktop, which was running Puppy Linux at ...
8
votes
2
answers
35k
views
Command-line control login remotely from another computer
I need a way to get command-line control of a computer remotely, from another computer. That is, I need a secure way to log in from another machine on the network using a terminal.
8
votes
1
answer
78k
views
How to enable ssh root access ubuntu 16.04 [duplicate]
on Ubuntu 16.04
sudo nano /etc/ssh/sshd_config
change
PermitRootLogin prohibit-password
to
PermitRootLogin yes
sudo service ssh restart
still permission denied
8
votes
1
answer
6k
views
Clean Install Of Ubuntu Server over the network?
I have an install of Ubuntu server, I was recently fooling around with it, and as all learning processes do, I messed a few things up.
I would this box to be secure and reliable in the future, So I ...
7
votes
5
answers
803
views
Single administrator computer for systems with only regular account on network
How can I have systems with only a regular account with administrative tasks managed by a single computer?
I simply want be able to add/remove software on all computers from a single system. ...
7
votes
2
answers
21k
views
VNC With Current Desktop
I have used VNC a few times and what I find is that VNC can't be used to control the "current" or "main" desktop. What I mean by this is I can't go out, and leave my machine on, leave my work open and ...
7
votes
5
answers
824
views
Why is openssh-server needed to receive incoming ssh connections?
Why is it needed? can't I just give an address:port and just "connect"?