Hot answers tagged

43

SSH comes by default in all Ubuntu versions so you save in having to install it (+1 for having it already there ;) ) Except of course in the case where you want a SSH server for your Ubuntu server. In that case you would sudo apt-get install openssh-server which should make your computer/server ready to be a ssh server. To use it is fairly easy: ssh ...


33

There are two ways you can do this with SSH. Tunnel Everything with a SOCKS proxy Log in to the remote machine using the following command: ssh -D 8080 remote-host Now go to your browser's proxy settings, and configure it to use a SOCKS proxy with host name 127.0.0.1 and port 8080 (or whatever port you passed to the -D option). Now all pages you load ...


25

I believe it has something to do with the fact that apt-get autoremove is being run in a non-interactive shell. See Is it possibe to answer dialog questions when installing under docker? The solution appears to be to prefix the command with DEBIAN_FRONTEND=noninteractive, i. e.: ssh <remove_srv> "DEBIAN_FRONTEND=noninteractive apt-get autoremove"


22

If you want to browse the server through Nautilus like you do with files on your local machine: Open Nautilus ("Home Folder") Go to "File" --> "Connect to Server" Select "SSH" under "Service Type" Put the IP address or domain under "Server" Add your username and check "Add bookmark" if you want the location saved to your bookmarks. The folder should ...


17

I recommed to use SSH if you need terminal access. Install openssh-server on Ubuntu machine. sudo apt-get install openssh-server Or you can find under software center. To connect from a Windows machine, download putty from HERE. and install under windows. Open putty and type in the Host Name or IP address for the Ubuntu machine. Type ...


16

Try this: rsync -ave 'ssh -p 456' /home/cavo/python/ wolfy@123.123.123.123:/home/wolfy/py/ Note that the trailing slashes on the paths are very important, they signal that you are syncing a directory to a directory. The -e switch helps rsync know it is going to be using ssh transport, and while we are specifying the transport we also tell ssh what port ...


13

Install the xdotool package, and try issuing xdotool key XF86AudioLowerVolume and xdotool key XF86AudioRaiseVolume.


12

Shell You could use the mount command in a start up script and put that in the Startup Application Preferences. mount is perfectly capable of mounting remote file systems (if you provided it with the right options and all necessary packages installed). An alternative to mount in your startup script is gvfs-mount . You can mount nautilus-type URIs with ...


11

If I understood correctly you are looking for "Wake on LAN", which is supported by DELL Optiplex systems (at least in principle). Enable "Wake on LAN" in the BIOS of the target. Disable "Deep Sleep" in the BIOS of the target. On your "other" Computer (assuming it is in the same LAN) install wakeonlan . This tool can send "magic packets" to the target. Now ...


10

Shutdown doesn't turn off the computer unless you use the -P option: sudo shutdown -P now Alternatively you can use sudo poweroff which does the same thing.


10

if your goal is to access to a remote Ubuntu machine just by terminal connection, you can use ssh. You've to install openssh-server by apt on Ubuntu and use for example Putty from windows.


9

I found out the solution: just rename the Quick Connect appearing in the TextBox to your favorite name, and it is done!


8

(Here follows an almost verbatim copy of a self-answer from an identical question on serverfault which I'd forgotten about; askubuntu wasn't yet created). Based on information found in this page about enabling XDCMP and the file /etc/gdm/gdm.schemas, I managed to create a /etc/gdm/custom.conf file: # /etc/gdm/custom.conf [xdmcp] [chooser] [security] ...


7

Try Remotewakeup. It allows you to start your computer over the internet. For complete instructions visit their site If the system is switched off, make sure power is still getting to the network card. Make sure that the LAN connector light is on.


6

There's a commercial proprietary tool called PowerShell SSH Server (read TechNet description) that will let you log in over SSH. There's also a free proprietary tool freeSSHd - you can run it and replace the standard cmd command shell with PowerShell. Finally, if you'd prefer a free software (open source) solution, you can install the Cygwin SSH server and ...


5

You could use sshfs to mount a remote directory to your local filesystem. See https://help.ubuntu.com/community/SSHFS: Command-line Usage Now, assuming that you have an SSH server running on a remote machine, simply run the SSHFS command to mount the remote directory. In this example, the remote directory is /projects on remote host far. The local mount ...


5

Open Nautilus, select File > Connect to server.. Select FTP with login. When you're logged in, right click the folder you want to copy and paste it somewhere on your local system. No need to install stuff. You have everything you need. :)


5

My personal preference is filezilla. You can install it from the repositories by typing sudo apt-get install filezilla. It's quite stable and with plenty of features. Alternatively, if you want to download by using a shell FTP client (no GUI), you could try to use wget or ncftp. Some examples: ncftpget –R –v –u "username" <ftp_site> ...


5

ssh -X user@dedicated-ip-for-machine in a terminal would allow them to connect via SSH but also forward GUI programs to their system (so that if they type in gedit, it will run gedit, and forward the GUI program to their system's screen, rather than using the dedicated box's monitor. This allows you to also restrict their access and can allow you to block ...


5

When your server boots up, even if you don't log in, it should be connected to the local network. To log in, you should be able to use ssh: ssh username@yourmachinename.local If you'd like to run graphical apps on the server you can add X forwarding: ssh -X username@yourmachine.local


5

Following Grumbel's answer, I tried xboxdrv solution with the support of his link and specially this page: 1. Install xboxdrv 0.8.2 from Ubuntu Software Center. Install also uinput and joydev if needed. I did it this way sudo modprobe uinput + sudo modprobe joydev 2. Need to know the event of the gamepad: Launch udevadm monitor --udev and then plug ...


5

I just now solved it. lircd -n --device=name='IR*' -H devinput. That's it. Works.


5

Define weird .. You will not be able to use history, or other last-used settings, in a meaningful manner as anyone could have used/set these last. You will also be unable to assign responsibility, if anything goes wrong. I don't recommend this practice, unless you don't care what happens to this server (and its content). The SSH sessions themselves will ...


5

You can try lsblk. That should list all disks including size. It will also list partitions and mount points.


5

You can try PPT ODP Remote Premium (2.50 €). Its description says that the server application works on Linux, too. It doesn't mention LibreOffice, only OpenOffice, but I hope they are compatible enough. But I didn't test it. If you don't mind ads and a bit of ugliness, Ubuntu Remote Control works. It only needs an SSH server on the PC (and public key ...


5

It seems it is a problem of mapping, or something. Just run sudo dpkg-reconfigure lirc, and in the first screen (Remote control configuration:), select Windows Media Center Transceivers/Remotes (all). In the second screen (IR transmitter, if present:), you can select None. Now, irw can output text: $ sudo irw 000000037ff07be1 00 KEY_UP mceusb ...


5

Yes, Ubuntu can be compromised, as any other OS, trojans, phishing, social engineering, password cracking, browser exploits - all work in Ubuntu. There is no policy of collecting the same amount of data as Windows 10 does (apparently, for developing purposes, which doesn't make it compromised in any way), and yet, there are Amazon adds in the dash - the ...


4

Yes, any Software and any OS can be compromised. Ubuntu is no exception. This is the data which Ubuntu will collect. You might want to disable the online search. As for protecting Ubuntu from threats, the following post covers the Ubuntu security aspect pretty good, so I'm linking it here: Security and Ubuntu


4

You should use a revision control system such as bzr or git, for your source code. Then everyone can work independently and merge there changes into the central repository. There are also commercial contracts available for https://launchpad.net/ for hosting private projects if you'd prefer to contract out maintaining such services.



Only top voted, non community-wiki answers of a minimum length are eligible