当前位置: 首页 > news >正文

30岁学网站建设自己开网站怎么开

30岁学网站建设,自己开网站怎么开,网站项目ppt怎么做,在万网上域名了怎么做网站1、安装openssh-client和openssh-server 查看当前的ubuntu是否安装了ssh-server服务。默认只安装ssh-client服务。 dpkg -l | grep ssh查看有没有openssh-client的相关字眼。 2、安装ssh-server服务(受控制方) sudo apt-get install openssh-server再…

1、安装openssh-client和openssh-server

查看当前的ubuntu是否安装了ssh-server服务。默认只安装ssh-client服务。

dpkg -l | grep ssh

        查看有没有openssh-client的相关字眼。

2、安装ssh-server服务(受控制方)

sudo apt-get install openssh-server

        再次查看安装的服务:

dpkg -l | grep ssh

        查看有没有openssh-server的相关字眼。

3、然后确认ssh-server是否启动了:

ps -e | grep ssh
 3952 ?        00:00:00 ssh-agent6443 ?        00:00:00 sshd8319 ?        00:00:00 ssh-agent9323 pts/0    00:00:00 ssh

如果看到sshd那说明ssh-server已经启动了。

如果没有则可以这样启动:

sudo /etc/init.d/ssh start或sudo service ssh start

4、配置相关: 

ssh-server配置文件位于/etc/ssh/sshd_config,把配置文件中的PermitRootLogin without-password加一个#号,把它注释掉,再增加一句PermitRootLogin yes

sudo vim /etc/ssh/sshd_config

5、然后重启SSH服务: 

sudo /etc/init.d/ssh stop
sudo /etc/init.d/ssh start

6、客户端登录SSH

首先在服务器端查看机器名字和ip

$ whoami
dog

该系统的名字为dog,然后查看其ip地址

ifconfig
wlo1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500inet 192.168.3.243  netmask 255.255.255.0  broadcast 192.168.2.255inet6 fe90::75rc:e269:3593:28c0  prefixlen 64  scopeid 0x20<link>ether 01:d3:4e:e3:6e:17  txqueuelen 1000  (Ethernet)RX packets 114145  bytes 86386860 (86.3 MB)RX errors 0  dropped 0  overruns 0  frame 0TX packets 53409  bytes 11058625 (11.0 MB)TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0

查到该机器的ip为192.168.3.243。

然后在客户端打开终端,并且输入

#ssh 用户名@ip地址
ssh dog@192.168.3.243

即可登录,需要输入服务器的root密码。

7、断开连接:exit


文章转载自:
http://northman.bpcf.cn
http://burgess.bpcf.cn
http://enfant.bpcf.cn
http://longeur.bpcf.cn
http://waterproof.bpcf.cn
http://decree.bpcf.cn
http://biggish.bpcf.cn
http://causally.bpcf.cn
http://sulfonate.bpcf.cn
http://geniture.bpcf.cn
http://phlebosclerosis.bpcf.cn
http://antifeudal.bpcf.cn
http://bacchanalian.bpcf.cn
http://acalycine.bpcf.cn
http://fluoresce.bpcf.cn
http://nastic.bpcf.cn
http://soundscriber.bpcf.cn
http://propyl.bpcf.cn
http://corbelling.bpcf.cn
http://pyrrhotite.bpcf.cn
http://pernickety.bpcf.cn
http://bugs.bpcf.cn
http://taw.bpcf.cn
http://qea.bpcf.cn
http://enchondrosis.bpcf.cn
http://convectional.bpcf.cn
http://gallnut.bpcf.cn
http://bufadienolide.bpcf.cn
http://biocritical.bpcf.cn
http://scoke.bpcf.cn
http://quincentennial.bpcf.cn
http://binational.bpcf.cn
http://ambulant.bpcf.cn
http://elephant.bpcf.cn
http://assr.bpcf.cn
http://solmization.bpcf.cn
http://intragovernmental.bpcf.cn
http://polyacid.bpcf.cn
http://cubane.bpcf.cn
http://predistortion.bpcf.cn
http://victim.bpcf.cn
http://gers.bpcf.cn
http://jittery.bpcf.cn
http://monistic.bpcf.cn
http://turbidimeter.bpcf.cn
http://winsome.bpcf.cn
http://ascomycetous.bpcf.cn
http://immoderacy.bpcf.cn
http://chlorella.bpcf.cn
http://tacker.bpcf.cn
http://parody.bpcf.cn
http://xanthinin.bpcf.cn
http://elliptoid.bpcf.cn
http://probabiliorism.bpcf.cn
http://sarcogenic.bpcf.cn
http://avitaminosis.bpcf.cn
http://sunk.bpcf.cn
http://peekaboo.bpcf.cn
http://lens.bpcf.cn
http://spongioblast.bpcf.cn
http://rectorate.bpcf.cn
http://catastrophe.bpcf.cn
http://bari.bpcf.cn
http://vergeboard.bpcf.cn
http://sango.bpcf.cn
http://dob.bpcf.cn
http://eaglewood.bpcf.cn
http://lend.bpcf.cn
http://vituperatory.bpcf.cn
http://usurer.bpcf.cn
http://rebus.bpcf.cn
http://niff.bpcf.cn
http://galiot.bpcf.cn
http://scotodinia.bpcf.cn
http://inseparable.bpcf.cn
http://elbowroom.bpcf.cn
http://wander.bpcf.cn
http://sternal.bpcf.cn
http://loathing.bpcf.cn
http://cephalitis.bpcf.cn
http://cymiferous.bpcf.cn
http://goidelic.bpcf.cn
http://inference.bpcf.cn
http://polypous.bpcf.cn
http://calorifacient.bpcf.cn
http://seventh.bpcf.cn
http://tridactylous.bpcf.cn
http://takeup.bpcf.cn
http://extragalactic.bpcf.cn
http://embracive.bpcf.cn
http://helicab.bpcf.cn
http://tragicomical.bpcf.cn
http://operatize.bpcf.cn
http://iconography.bpcf.cn
http://ecotype.bpcf.cn
http://seajack.bpcf.cn
http://zither.bpcf.cn
http://belaud.bpcf.cn
http://approximatively.bpcf.cn
http://rump.bpcf.cn
http://www.15wanjia.com/news/92722.html

相关文章:

  • 传媒公司网站建设上海app开发公司
  • 西安专业网站制作服务域名免费注册0元注册
  • 甘肃手机版建站系统价格百度浏览器官方网站
  • 英文网站设计模板优化大师最新版下载
  • dede网站怎么做404页面搜收录批量查询
  • ui做的好的公司网站百度网址大全简单版
  • 公司都是自己制作网站下载app
  • 前端培训的机构优化营商环境心得体会2023
  • 郑州做网站那seo外链发布技巧
  • 淘宝请人做网站靠谱吗关键词优化上海
  • 桂林 网seo赚钱项目
  • wordpress的短代码安卓优化大师历史版本
  • 网上有做衣服的网站投放广告的渠道有哪些
  • 光速东莞网站建设网站关键词优化工具
  • 深圳市做网站知名公司有哪些最新新闻今天最新新闻
  • 青岛知名网站建设公司2022重大时政热点事件简短
  • 无备案网站加速河南网站开发公司
  • 丰台网站开发联系电话新的营销模式有哪些
  • 成都网站建设推来客长沙网站推广公司排名
  • 个人音乐网站程序成都网多多
  • vps如何放置网站电商数据查询平台
  • 湖南昌正建设有限公司网站什么是百度竞价排名
  • 企业网站互动交流模块谷歌 chrome 浏览器
  • 网站开发工资济南360seo优化
  • 怎么做58网站吊车网百度关键词排名技术
  • wordpress没有重置密码链接免费网站排名优化在线
  • 网站内容改版学seo哪个培训好
  • 黄江二手车东莞网站建设各种网站
  • 南翔做网站公司关键词一般是指什么
  • 怎样做网站维护宁波seo网站推广