Linux上有無像Windows上psexec遠端指令 - Linux

By Tracy
at 2018-06-30T08:30
at 2018-06-30T08:30
Table of Contents
psexec 下載
https://download.sysinternals.com/files/PSTools.zip
psexec 說明
https://docs.microsoft.com/en-us/sysinternals/downloads/psexec
psexec 教學
http://larrynung.github.io/2015/02/13/psexec-execute-process-remotely/
電腦A , IP 192.168.1.49 :
在DOS執行 psexec \\192.168.1.56 -u administrator -p password ipconfig
電腦B , IP 192.168.1.56
電腦A的DOS畫面 : 透過psexec即可看到電腦B的IP
C:\Downloads\PSTools>psexec \\192.168.1.56 -u administrator -p password
ipconfig
PsExec v2.2 - Execute processes remotely
Copyright (C) 2001-2016 Mark Russinovich
Sysinternals - www.sysinternals.com
Windows IP 設定
乙太網路卡 乙太網路:
連線特定 DNS 尾碼 . . . . . . . . :
IPv4 位址 . . . . . . . . . . . . : 192.168.1.56
子網路遮罩 . . . . . . . . . . . .: 255.255.255.0
預設閘道 . . . . . . . . . . . . .: 192.168.1.18
ipconfig exited on 192.168.1.56 with error code 0.
C:\Downloads\PSTools>
Linux 常見的遠端指令程式有 SSH , Telnet
但是SSH自動登入免密碼需要金鑰之設定;
而Telnet無法自動登入,除非寫Script.
Windows上的psexec優點有:
* 不需要金鑰
* 不需要Script
* 不需要在遠端電腦安裝或設定程式
請問Linux上有無像psexec這樣的遠端指令程式呢?
--
https://download.sysinternals.com/files/PSTools.zip
psexec 說明
https://docs.microsoft.com/en-us/sysinternals/downloads/psexec
psexec 教學
http://larrynung.github.io/2015/02/13/psexec-execute-process-remotely/
電腦A , IP 192.168.1.49 :
在DOS執行 psexec \\192.168.1.56 -u administrator -p password ipconfig
電腦B , IP 192.168.1.56
電腦A的DOS畫面 : 透過psexec即可看到電腦B的IP
C:\Downloads\PSTools>psexec \\192.168.1.56 -u administrator -p password
ipconfig
PsExec v2.2 - Execute processes remotely
Copyright (C) 2001-2016 Mark Russinovich
Sysinternals - www.sysinternals.com
Windows IP 設定
乙太網路卡 乙太網路:
連線特定 DNS 尾碼 . . . . . . . . :
IPv4 位址 . . . . . . . . . . . . : 192.168.1.56
子網路遮罩 . . . . . . . . . . . .: 255.255.255.0
預設閘道 . . . . . . . . . . . . .: 192.168.1.18
ipconfig exited on 192.168.1.56 with error code 0.
C:\Downloads\PSTools>
Linux 常見的遠端指令程式有 SSH , Telnet
但是SSH自動登入免密碼需要金鑰之設定;
而Telnet無法自動登入,除非寫Script.
Windows上的psexec優點有:
* 不需要金鑰
* 不需要Script
* 不需要在遠端電腦安裝或設定程式
請問Linux上有無像psexec這樣的遠端指令程式呢?
--
Tags:
Linux
All Comments

By Rebecca
at 2018-07-03T19:32
at 2018-07-03T19:32

By Damian
at 2018-07-08T16:50
at 2018-07-08T16:50

By Suhail Hany
at 2018-07-11T04:58
at 2018-07-11T04:58

By Suhail Hany
at 2018-07-11T22:42
at 2018-07-11T22:42

By Jacob
at 2018-07-12T07:41
at 2018-07-12T07:41

By Elvira
at 2018-07-16T14:01
at 2018-07-16T14:01

By Leila
at 2018-07-19T02:21
at 2018-07-19T02:21

By Sierra Rose
at 2018-07-20T22:48
at 2018-07-20T22:48

By Linda
at 2018-07-25T02:42
at 2018-07-25T02:42

By Victoria
at 2018-07-29T20:02
at 2018-07-29T20:02

By Susan
at 2018-08-02T02:52
at 2018-08-02T02:52

By Barb Cronin
at 2018-08-04T11:40
at 2018-08-04T11:40

By Regina
at 2018-08-04T14:41
at 2018-08-04T14:41

By Olga
at 2018-08-04T17:47
at 2018-08-04T17:47

By Edith
at 2018-08-08T20:05
at 2018-08-08T20:05

By Daph Bay
at 2018-08-12T01:05
at 2018-08-12T01:05

By Anonymous
at 2018-08-16T03:39
at 2018-08-16T03:39

By Ula
at 2018-08-20T20:50
at 2018-08-20T20:50

By Iris
at 2018-08-23T01:10
at 2018-08-23T01:10

By Rae
at 2018-08-27T02:27
at 2018-08-27T02:27

By Delia
at 2018-08-30T03:15
at 2018-08-30T03:15

By Tracy
at 2018-08-30T19:21
at 2018-08-30T19:21

By Kyle
at 2018-09-01T08:31
at 2018-09-01T08:31

By Hedy
at 2018-09-03T13:41
at 2018-09-03T13:41

By Connor
at 2018-09-03T15:18
at 2018-09-03T15:18

By Hedy
at 2018-09-04T09:35
at 2018-09-04T09:35

By Zenobia
at 2018-09-07T14:44
at 2018-09-07T14:44

By Joseph
at 2018-09-09T20:26
at 2018-09-09T20:26

By Hedy
at 2018-09-12T17:15
at 2018-09-12T17:15

By Charlotte
at 2018-09-13T10:39
at 2018-09-13T10:39

By Doris
at 2018-09-15T18:26
at 2018-09-15T18:26

By Ivy
at 2018-09-16T18:55
at 2018-09-16T18:55

By Olga
at 2018-09-19T10:06
at 2018-09-19T10:06

By Tristan Cohan
at 2018-09-19T22:18
at 2018-09-19T22:18

By Hedwig
at 2018-09-22T23:35
at 2018-09-22T23:35

By Ingrid
at 2018-09-25T12:38
at 2018-09-25T12:38

By Steve
at 2018-09-26T18:07
at 2018-09-26T18:07

By Charlie
at 2018-09-28T23:02
at 2018-09-28T23:02

By Faithe
at 2018-10-01T17:11
at 2018-10-01T17:11
Related Posts
資料的截取與邏輯判斷

By Andrew
at 2018-06-28T18:23
at 2018-06-28T18:23
資料的截取與邏輯判斷

By Doris
at 2018-06-26T21:26
at 2018-06-26T21:26
Ubuntu 16 拔掉hdmi無法開機

By Susan
at 2018-06-25T13:01
at 2018-06-25T13:01
ubuntu 打不開

By Jacob
at 2018-06-21T22:51
at 2018-06-21T22:51
尋找空的資料夾或是非空的資料夾?

By Ina
at 2018-06-21T10:11
at 2018-06-21T10:11