当前位置:  开发笔记 > 编程语言 > 正文

我可以知道在unix中的scp命令的退出状态

如何解决《我可以知道在unix中的scp命令的退出状态》经验,为你挑选了1个好方法。


使用scp命令在perl中进行编程时,
如果你告诉哪个退出值(除了0-成功,1-error)是为了我的生活将是简单的,我面对scp命令的退出状态



1> Pesto..:

从这里:

0   Operation was successful
1   General error in file copy
2   Destination is not directory, but it should be
3   Maximum symlink level exceeded
4   Connecting to host failed.
5   Connection broken
6   File does not exist
7   No permission to access file.
8   General error in sftp protocol
9   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

推荐阅读
手机用户2402852387
这个屌丝很懒,什么也没留下!
DevBox开发工具箱 | 专业的在线开发工具网站    京公网安备 11010802040832号  |  京ICP备19059560号-6
Copyright © 1998 - 2020 DevBox.CN. All Rights Reserved devBox.cn 开发工具箱 版权所有