- 博客(2)
- 收藏
- 关注
原创 gcc pthread_create collect2:ld returned 1 exit status
pthread_create不是linux默认的库,连接时需要使用静态库 libpthread.a。man pthread_create查看需要添加的头文件#include<pthread.h>gcc时要加上-lpthreadeg:gcc aaa.c -lpthread
2021-03-25 23:08:30
78
原创 SecureCRT “the remote system refused the connection“
查看ssh服务:ps -e|grep ssh发现只有ssh-agent没有 sshd是因为ssh-server可以直接卸载重装sshsudo apt-get remove openssh-server openssh-client --purge -ysudo apt-get install openssh-server openssh-client重启服务sudo /etc/init.d/ssh start 成功了~~~~~~~...
2021-03-10 22:06:07
103
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人