- Create a local .ssh directory with cd ~; mkdir .ssh
- Create a public/private key pair with ssh-keygen -t rsa (take all the defaults when prompted)
- The private key is ~/.ssh/id_rsa
- The public key is ~/.ssh/id_rsa.pub
- Copy the public key to the remote rpi with scp id_rsa.pub pi@192.168.1.100:./ (your ip address may be different)
- ssh to the rpi with ssh pi@192.168.1.100
- Create a .ssh directory with mkdir .ssh
- Move id_rsa.pub to the .ssh directory and rename it with mv id_rsa.pub .ssh/authorized_keys
- Test with ssh pi@192.168.1.100 - you should be logged in without entering a password.
How to scp and ssh from Ubuntu to a Raspberry Pi without a password
Opening the gnome terminal maximized in Ubuntu 16.04
Using the Ctrl-Alt-T keyboard shortcut:
Using the Unity Launcher
- Search for "Keyboard" in the Unity launcher
- Click the shortcuts tab
- Click "Custom Shortcuts"
- Click the "+" at the bottom of the window
- Enter a name, e.g., "Terminal"
- Enter the command: gnome-terminal --maximize
- Click "Apply"
- Set the keyboard shortcut by highlighting the row and typing the Ctrl-Alt-T key combination
Using the Unity Launcher
- Edit the file ~/.local/share/applications/gnome-terminal.desktop
- Paste these lines into the file:
[Desktop Entry]
Type=Application
Name=Terminal
Icon=utilities-terminal
Exec=gnome-terminal --maximize
- Save the file
- Log out and back in again
Subscribe to:
Posts (Atom)