An error will be caused by symbolic links pointing to each other
Because thiscause a symlink loop.
Just like this:
bash-3.00$ /usr/bin/ssh
bash: /usr/bin/ssh: Number of symbolic links encountered during path name traversal exceeds MAXSYMLINKS
# /usr/local/bin/ssh
/usr/local/bin/ssh: cannot execute
# ls -lrth /usr/local/bin/ssh
lrwxrwxrwx 1 root root 18 May 31 07:05 /usr/local/bin/ssh -> /usr/local/bin/ssh
# /usr/local/bin/ssh
/usr/local/bin/ssh: cannot execute
# ls -lrth /usr/local/bin/ssh
lrwxrwxrwx 1 root root 18 May 31 07:05 /usr/local/bin/ssh -> /usr/local/bin/ssh
# ls -lrth /usr/bin/ssh
lrwxrwxrwx 1 root root 18 May 31 07:05 /usr/bin/ssh -> /usr/local/bin/ssh
Both are the symbolic links.
Logon the other nodes and copy the ssh file to it.
$ scp /usr/bin/ssh grid@perf-5240-2:/usr/bin/ssh
scp: /usr/bin/ssh: Number of symbolic links encountered during path name traversal exceeds MAXSYMLINKS
Remove the ssh symlink file from the first node.
copy again.
$ scp /usr/bin/ssh droot@perf-5240-2:/usr/bin/ssh
Password:
ssh 100% |********************************************| 259 KB 00:00
$
Then go back the first node and try the ssh command again:
# ssh
You have to specify host.
Usage: ssh [options] host [command]
Options:
-l user Log in using this user name.
-n Redirect input from /dev/null.
-F config Config file (default: ~/.ssh/config).
-A Enable authentication agent forwarding.
-a Disable authentication agent forwarding (default).
-X Enable X11 connection forwarding.
-x Disable X11 connection forwarding (default).
-i file Identity for public key authentication (default: ~/.ssh/identity)
-t Tty; allocate a tty even if command is given.
-T Do not allocate a tty.
-v Verbose; display verbose debugging messages.
Multiple -v increases verbosity.
-V Display version number only.
-q Quiet; don't display any warning messages.
-f Fork into background after authentication.
-e char Set escape character; ``none'' = disable (default: ~).
-c cipher Select encryption algorithm
-m macs Specify MAC algorithms for protocol version 2.
-p port Connect to this port. Server must be on the same port.
-L listen-port:host:port Forward local port to remote address
-R listen-port:host:port Forward remote port to local address
These cause ssh to listen for connections on a port, and
forward them to the other side by connecting to host:port.
-D port Enable dynamic application-level port forwarding.
-C Enable compression.
-N Do not execute a shell or command.
-g Allow remote hosts to connect to forwarded ports.
-1 Force protocol version 1.
-2 Force protocol version 2.
-4 Use IPv4 only.
-6 Use IPv6 only.
-o 'option' Process the option as if it was read from a configuration file.
-s Invoke command (mandatory) as SSH2 subsystem.
-b addr Local IP address.
# exit
bash-3.00$ ssh
You have to specify host.
Usage: ssh [options] host [command]
Options:
-l user Log in using this user name.
-n Redirect input from /dev/null.
-F config Config file (default: ~/.ssh/config).
-A Enable authentication agent forwarding.
-a Disable authentication agent forwarding (default).
-X Enable X11 connection forwarding.
-x Disable X11 connection forwarding (default).
-i file Identity for public key authentication (default: ~/.ssh/identity)
-t Tty; allocate a tty even if command is given.
-T Do not allocate a tty.
-v Verbose; display verbose debugging messages.
Multiple -v increases verbosity.
-V Display version number only.
-q Quiet; don't display any warning messages.
-f Fork into background after authentication.
-e char Set escape character; ``none'' = disable (default: ~).
-c cipher Select encryption algorithm
-m macs Specify MAC algorithms for protocol version 2.
-p port Connect to this port. Server must be on the same port.
-L listen-port:host:port Forward local port to remote address
-R listen-port:host:port Forward remote port to local address
These cause ssh to listen for connections on a port, and
forward them to the other side by connecting to host:port.
-D port Enable dynamic application-level port forwarding.
-C Enable compression.
-N Do not execute a shell or command.
-g Allow remote hosts to connect to forwarded ports.
-1 Force protocol version 1.
-2 Force protocol version 2.
-4 Use IPv4 only.
-6 Use IPv6 only.
-o 'option' Process the option as if it was read from a configuration file.
-s Invoke command (mandatory) as SSH2 subsystem.
-b addr Local IP address.
分享到:
相关推荐
### 错误解析:Caused by: android.system.ErrnoException: write failed: ENOSPC (No space left 在Android开发过程中,可能会遇到“Caused by: android.system.ErrnoException: write failed: ENOSPC (No space ...
"MongoDB 安装出错解决方法" MongoDB 是一款非常流行的 NoSQL 数据库管理系统,但是在安装过程中经常会遇到各种错误,特别是在自定义安装路径时。下面我们将详细介绍 MongoDB 安装出错解决方法。...
This will error faulty NICs that are not detected by the BurnInTest auto NIC detection mechanism. - Minor change to the 2D memory test when run with the 3D test (multiple large windows) and the ...
Decision trees are particularly promising in symbolic representation and reasoning due to their comprehensible nature, which resembles the hierarchical process of human decision making. However, their...
2. QuickTest Professional sometimes caused an error message to be displayed by the application when spying on a specific WPF combo box. This hotfix also enables you to set a registry setting that ...
### Error in Initialization of Native Part of the Colorer Library 在安装 Eclipse Colorer 插件时遇到“Error in initialization of native part of the Colorer library. This can be caused by absent ...
在Java应用程序运行过程中,"java.lang.OutOfMemoryError: PermGen space"错误是常见的一个问题,尤其是在使用Tomcat这样的Java应用服务器时。这个错误表明应用程序在 PermGen 区域(Permanent Generation)耗尽了...
标题:“Software caused connection abort: recv failed” 描述:“Software caused connection abort: recv failed” 知识点解析: ### 背景介绍 “Software caused connection abort: recv failed”这一错误...
### 惯性导航单元因环形激光陀螺误差导致的错误 #### 概述 惯性导航单元(INU)是一种关键的导航设备,广泛应用于各种交通工具如飞机、船舶及航天器等,以提供准确的位置、速度和姿态信息。本文讨论了环形激光陀螺...
项目运行需要加入配置文件有:file.conf、registry.conf 在application.xml中引入: Spring: cloud: alibaba: seata: tx-service-group: my_tx_group 同时数据库驱动方式需要修改: <!--seata事务管理--> ...
This problem might be caused by incorrect configuration of the daemon. For example, an unrecognized jvm option is used. Please refer to the user guide chapter on the daemon at https:
PLEASE TAKE A LOOK AT THE "WHAT's NEW IN THIS VERSION" LINK IN THE HELP FILE AS IT HAS CONVENIENT LINKS TO ALL OF THE NEW TOPICS. ==================== Version 3.10 Build 1 - Several bug fixes. - ...
藏经阁-How to overcome mysterious problems caused by large and multi-tenant Hadoop cluster at Rakuten 在本文中,我们将探讨 Rakuten 公司中使用 Hadoop 集群时遇到的几个神秘问题,并了解解决这些问题的方法...
David Knaack, which caused a runtime error if you double-clicked when no popup menu was assigned to the icon. - ver. 1.0.2: Added a Handle property, and enabled handling of default menu items. ...
The reinforcement learn- ing based dialogue manager offers robust capabilities to handle noises caused by other components of the dialogue system. Our experiments in a movie-ticket book- ing domain ...
An ISP earns its money by charging each of the the ISPs that connect to the IXP a relatively small fee, which may depend on the amount of traffic sent to or received from the IXP. 15. Google's ...
Resource Editor screenshotsIn fact, it allows you to add your own custom branding to an application, change dialog messages, customize toolbar actions, and so on without having access to the actual ...
PL/SQL是Oracle数据库的一种内置编程语言,专为管理和操作Oracle数据库而设计。它结合了SQL(结构化查询语言)的威力与过程编程语言的功能,使得开发者能够编写复杂的数据库应用程序。在Oracle环境中,PL/SQL用于...
The error "JSONparser:invalidFormat: Outer level structure must be an object or an array" error is caused by this bug. Post-installation test: cd to the 'lib' folder, enter this command: ...