I'm trying to connect to the hosting via ssh. But have this problem:
$ ssh my_login@my_ip
my_login@my_ip's password:
date: invalid option -- 'c'
Try `date --help' for more information.
Connection to my_ip closed.
What is it?
If you can connect by other means, check you .profile
and .bashrc
(or .kshrc
, depending on the default shell) for any date command.
The idea is to keep those files as lean/small as possible first, then add back their content in order to determine what causes this error message.
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.