System Management-Management node-new Linux node
Click on the Linux node to run, resulting in the following logs, indicating a successful connection:
[02/09/18 05:20:36] [SSH] Opening SSH connection to 192.168.1.209:22.
[02/09/18 05:20:37] [SSH] Warning:ssh Host Keys is not being verified. Man-in-the-middle attacks May is possible against this connection.
[02/09/18 05:20:37] [SSH] Authentication succeeded.
[02/09/18 05:20:38] [SSH] The remote user ' s environment is:
Bash=/bin/bash
Bashopts=cmdhist:complete_fullquote:extquote:force_fignore:hostcomplete:interactive_comments:progcomp: Promptvars:sourcepath
Bash_aliases= ()
Bash_argc= ()
bash_argv= ()
Bash_cmds= ()
Bash_execution_string=set
Bash_lineno= ()
Bash_source= ()
bash_versinfo= ([0]= "4" [1]= "3" [2]= "one" [3]= "1" [4]= "Release" [5]= "X86_64-pc-linux-gnu")
Bash_version= ' 4.3.11 (1)-release '
Dirstack= ()
Euid=0
Groups= ()
Home=/root
Hostname=ubuntu
Hosttype=x86_64
ifs=$ ' \t\n '
Lang=zh_cn. UTF-8
Language=zh_cn:zh
Logname=root
Machtype=x86_64-pc-linux-gnu
Mail=/var/mail/root
Opterr=1
Optind=1
Ostype=linux-gnu
Path=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games
pipestatus= ([0]= "0")
ppid=15472
ps4= ' + '
Pwd=/root
Shell=/bin/bash
Shellopts=braceexpand:hashall:interactive-comments
Shlvl=1
Ssh_client= ' 192.168.1.228 52134 22 '
Ssh_connection= ' 192.168.1.228 52134 192.168.1.209 22 '
Term=dumb
Uid=0
User=root
xdg_runtime_dir=/run/user/0
Xdg_sessionid=377
= '] '
[02/09/18 05:20:38] [SSH] Starting SFTP client.
[02/09/18 05:20:39] [SSH] is copying the latest version of the Slave.jar ...
[02/09/18 05:20:39] [SSH] Copied 745,674 bytes.
Expanded the channel window size to 4MB
[02/09/18 05:20:39] [SSH] Starting slave process:cd "/root/code" &&/usr/local/jdk1.8/bin/java-jar Slave.jar
<===[jenkins REMOTING Capacity]===>channel started
Remoting version:3.14
This is a Unix agent
Evacuated stdout
Agent successfully connected and online
Jenkins builds multi-node Linux nodes