$ cat No such file or directory

因系统用户名有空格的原因,获取ssh时候遇到No such file or directory问题;给路径中有空格的文件夹名称添加引号解决

Ce Shi@DESKTOP-TSCP95M MINGW64 ~
$ cat /c/Users/Ce Shi/.ssh/id_rsa.pub.
cat: /c/Users/Xie: No such file or directory
cat: Haojie/.ssh/id_rsa.pub.: No such file or directory

Ce Shi@DESKTOP-TSCP95M MINGW64 ~
$ cat /c/Users/"Ce Shi"/.ssh/id_rsa.pub
ssh-rsa AAAAB3NzaC1yc2EAAAADAQABBBBgQC9ruC8tXAtYyDDwiY45+/HZrHjK5OLvSp5mGmlN39T+2+KQbW5lJAoo65VliOzUgpnC/Aw2YBdNX3jkCCSciFI1itsKZld9HmSJxeVr33zNqmY9rSOje0P6vb+XWQTTh+fWfjI+eWn30oOEUobzumwYBoabbzeHx0GGdnNs+CCkfjiB1shiC5jh+M1DXtOpf73Pm+Zdo0/NrtNhZMT9K/bI3oXvgGHDTZuldSuvwwcWve8f35bd1z2ePlAitPK7TZU6iptbxagbUuPpBLb4S7RccQkCXC7KCUSD/biUlFiFmvvwMf1dqLST8XIpob3j45jFHH7ypGMUIoJL5V9gmS8pDtAnw4pdQA3oF2hIA7iNQPbOEReo8wIe/is4XMm/AtM6RhmPTroa1B0SZz4Tycb1fZ/ki0d/0ushaaVTPN5/Ranz5F4CteRgAqLFeqtZ45tzywKWhTHL97djBliul4bY0Ct0CcYr0SCyjrZv5ndkmOcseZ84NcEVlaxLq5NeKk= ceshi

你可能感兴趣的:(android)