ITERM 2 Set the topic background and SSH automatic connection server

      • iTerm 2 download and installation< /li>
      • Set shortcut keys
      • Set theme
      • Set background
      • Set SSH
          • Set configuration File
          • Add a new Profile in iTerm

iTerm 2 download and install

Official download link http ://www.iterm2.com/downloads.html

Currently the latest version is iTerm2-3_1_5. After downloading, it is iTerm2-3_1_5.zip. After decompression, the application of iTerm is double-clicked and the following picture appears

Set shortcut key

Set command +, (the key to the left of number 1) in Keys -> Hotkey Quickly show and hide iTerm

Set theme

Download iTerm2-Color-Schemes

In Profiles -> Default -> Colors -> Color Presets… Import it into your favorite theme as the default color.

Set background

In Profiles -> select a Profile Name -> Window -> tick Select Background Image and choose a local image.

Set SSH

Set configuration file

Create a script file in any folder and do the following settings

#!/usr/bin/expect -fset user rootset host 192.168.94.13 4set password javen.zhouset port  12345set timeout -1spawn ssh -p $port $user@$hostexpect "*assword:*"send "$password
"
interactexpect eof pre>

where
1. user is the user name for connecting to the server
2. host is the IP of the target server
3. password is the password for connecting to the server
4. port is Port number to connect to the server

iTerm add a new profile

The specific operation is as shown in the figure below

This is the end of the article. Have you gotten the settings related to iTerm 2 yet?

      • iTerm 2 download and installation
      • Settings Shortcut keys
      • Set theme
      • Set background
      • Set SSH
          • Set configuration file
          • Add a new Profile in iTerm

      • iTerm 2 download and installation
      • Set shortcut keys
      • Set Theme
      • Set background
      • Set SSH
          • Set profile
          • Add a new profile to iTerm
          • li>

Leave a Comment

Your email address will not be published.