当前位置:网站首页>7-1 detailed steps of installing SSH on virtual machine
7-1 detailed steps of installing SSH on virtual machine
2022-07-22 21:41:00 【WuJiaYFN】
One 、 stay Ubuntu Install in SSH
On the newly installed virtual machine , Use ls Can't show .ssh Hidden files , The reason is that the virtual machine system in the initial trial is not installed ssh , You need to follow the following steps to install :
1、 Enter the command :
$ sudo apt - get install openssh-server
2、 Enter the command to start the service
$ /etc/init.d/ssh start
3、 Enter the restart service command
$ /etc/init.d/ssh restart
4、 Enter the command sudo su , Do not fill in the path , Directly keep pressing enter, You can make it
$ sudo su
5、 Check to determine whether and generated .ssh Hidden files
6、 Input exit The instruction exits the current operation and is completed
7、 If it is not found under the current user .ssh Folder , You need to enter the following command :
$ ssh localhost
reason :.ssh It's a folder for password information , If you haven't logged in root Words , There is no .ssh Folder , So log in localhost , And enter the password to generate
边栏推荐
- 校园英语调频台在江西陶瓷工艺美术职业技术学院的应用
- Why do independent business owners accept CTSI
- ssh时提示“WARNING: REMOTE HOST IDENTIFICATION HAS CHANGED”
- Blue Bridge Cup - underground palace treasure taking
- 蓝桥杯-K倍区间
- 5. Network and security
- 使用go golang配置时 遇到的connect: connection refused问题
- Reinstalled NVIDIA graphics driver
- 蓝桥杯-四平方和
- C# Winform开发 窗体间的数据交互
猜你喜欢
acwing-飞行员兄弟
Blue Bridge Cup - half chocolate
Blue Bridge Cup - underground palace treasure taking
New cover of time: metauniverse will change everything
Compared with technology and products, listening and opinions are the top priority of Web3 at present
【问题篇】解决Unable to connect to Redis; nested exception is io.lettuce.core.RedisConnectionException
水庫河道應急廣播系統解决方案
On the characteristics of filter pseudo protocol
HNOI2003-激光炸弹
Binance 华语社区 x Cartesi AMA 回顾
随机推荐
Software package management RPM package management checksum file extraction
ActiveMQ persistence steps
快速查找论文的源代码网站资料
Bash basic functions alias and shortcut keys
Pytorch, specify the problem of the graphics card
WinAppDriver 自动测试 winform 自动测试的部署
YOLO9000: Better, Faster, Stronger
Interview shock 67: talk about tcp/ip protocol? And the role of each layer?
Cartesi mars 2022 Review
Blue Bridge Cup - underground palace treasure taking
小区IP网络广播背景系统解决方案-基于局域网、专网或广域网传输
Character interception command
C# Winform开发 WinAppDriver 自动测试的使用
ssh时提示“WARNING: REMOTE HOST IDENTIFICATION HAS CHANGED”
C # form applies DataGridView, and uses databases (SQL and MySQL) to bind data sources to DataGridView to obtain data
水库防汛泄洪抢险应急广播系统建设4G无线广播模式分析
5. Network and security
1.1.2计网——标准化工作机器相关组织,性能指标
Significance learning record of FFT in MATLAB
Bash basic function - input / output redirection