SSH and SCP Return Codes 执行后返回码

太难找了。网上好像没有SSH and SCP Return Codes


Technical Note 2116
Last Reviewed 07-Dec-2006
Applies To
Reflection for HP version 13.0.4 through 14.0.3
Reflection for UNIX and OpenVMS version 13.0.4 through 14.0.3
Reflection for ReGIS Graphics version 13.0.4 through 14.0.3
Summary

This technical note lists the return codes for SSH and SCP.

For a list of SSH or SCP return codes that apply to later Reflection versions, see Technical Note 2285.

To display the return code: Use echo %errorlevel% to display the return code after executing an SSH or SCP command.

SSH Return Codes

Operation was successful 
Generic error, usually because invalid command line options or malformed configuration 
Connection failed 
65Host not allowed to connect 
66General error in ssh protocol 
67Key exchange failed 
68Reserved 
69MAC error 
70Compression error 
71Service not available 
72Protocol version not supported 
73Host key not verifiable 
74Connection failed 
75Disconnected by application 
76Too many connections 
77Authentication cancelled by user 
78No more authentication methods available 
79Invalid user name 

SCP Return Codes

Operation was successful 
General error in file copy 
Destination is not directory, but it should be 
Maximum symlink level exceeded 
Connecting to host failed. 
Connection broken 
File does not exist 
No permission to access file. 
General error in sftp protocol 
File transfer protocol mismatch 
10 No file matches a given criteria 
65 Host not allowed to connect 
66 General error in ssh protocol 
67 Key exchange failed 
68 Reserved 
69 MAC error 
70 Compression error 
71 Service not available 
72 Protocol version not supported 
73 Host key not verifiable 
74 Connection failed 
75 Disconnected by application 
76 Too many connections 
77 Authentication cancelled by user 
78 No more authentication methods available 
79 Invalid user name 
Related Technical Notes
1999Reflection for Secure IT Technical Notes
2285Secure Shell (SSH, SCP, and SFTP) Return Codes in Windows
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值