FreeSSHD连接SSH server显示The specified address is not available.

博客主要讲述了freeSSHD连接SSH server时显示指定地址不可用的问题。打开freesshd设置面板,SSH server未运行且点击启动提示地址不可用,原因是SSH设置栏中监听地址未填写或错误,解决办法是通过cmd查看IP并在SSH中选择该IP,再次连接成功。

摘要生成于 C知道 ,由 DeepSeek-R1 满血版支持, 前往体验 >

freeSSHD连接SSH server显示The specified address is not available.

参考:FreeSSHD的安装配置

BUG :

打开freesshd设置面板的时候发现【SSH server is not running】下面是个红叉,点击【Click here to Start】,提示the specified address is not available。
这里写图片描述

Reason :

【SSH】设置栏中【Listen address】地址没有填写或错误。
这里写图片描述

Resolution :

打开【cmd】,输入【ipconfig】查看IP地址,在【SSH】中选择此IP即可。
这里写图片描述
点击【Server Status】再次连接,成功。
这里写图片描述

‘’‘PS C:\Users\TY> step-ca --db-options '{"Truncate":true}' C:/Users/TY/.step/config/ca.json Incorrect Usage. flag provided but not defined: -db-options NAME step-ca -- an online certificate authority for secure automated certificate management USAGE step-ca [config] [--context=name] [--password-file=file] [--ssh-host-password-file=file] [--ssh-user-password-file=file] [--issuer-password-file=file] [--resolver=addr] [--help] [--version] DESCRIPTION step-ca runs the Step Online Certificate Authority (Step CA) using the given configuration. See the README.md for more detailed configuration documentation. POSITIONAL ARGUMENTS config File that configures the operation of the Step CA; this file is generated when you initialize the Step CA using 'step ca init' OPTIONS --password-file=file path to the file containing the password to decrypt the intermediate private key. --ssh-host-password-file=file path to the file containing the password to decrypt the private key used to sign SSH host certificates. If the flag is not passed it will default to --password-file. --ssh-user-password-file=file path to the file containing the password to decrypt the private key used to sign SSH user certificates. If the flag is not passed it will default to --password-file. --issuer-password-file=file path to the file containing the password to decrypt the certificate issuer private key used in the RA mode. --resolver=value address of a DNS resolver to be used instead of the default. --token=value token used to enable the linked ca. --quiet disable startup information --context=name the name of the authority's context. --acme-http-port=port the port used on http-01 challenges. It can be changed for testing purposes. Requires --insecure flag. --acme-tls-port=port the port used on tls-alpn-01 challenges. It can be changed for testing purposes. Requires --insecure flag. --acme-strict-fqdn enable strict DNS resolution using a fully qualified domain name. --pidfile=file the path to the file to write the process ID. --insecure enable insecure flags. --help, -h show help --version, -v print the version EXIT CODES This command will run indefinitely on success and return >0 if any error occurs. EXAMPLES These examples assume that you have already initialized your PKI by running 'step ca init'. If you have not completed this step please see the 'Getting Started' section of the README. Run the Step CA and prompt for password: $ step-ca $STEPPATH/config/ca.json Run the Step CA and read the password from a file - this is useful for automating deployment: $ step-ca $STEPPATH/config/ca.json --password-file ./password.txt Run the Step CA for the context selected with step and a custom password file: $ step context select ssh $ step-ca --password-file ./password.txt Run the Step CA for the context named mybiz and prompt for password: $ step-ca --context=mybiz Run the Step CA for the context named mybiz and an alternate ca.json file: $ step-ca --context=mybiz other-ca.json Run the Step CA for the context named mybiz and read the password from a file - this is useful for automating deployment: $ step-ca --context=mybiz --password-file ./password.txt COMMANDS help, h display help for the specified command or command group version display the current version of the cli export export the current configuration of step-ca onboard configure and run step-ca from the onboarding guide ONLINE This documentation is available online at https://smallstep.com/docs/certificates VERSION Smallstep CA/0.28.3-rc2 (windows/amd64) COPYRIGHT (c) 2018-2025 Smallstep Labs, Inc. FEEDBACK 😍 🍻 The step-ca utility is not instrumented for usage statistics. It does not phone home. But your feedback is extremely valuable. Any information you can provide regarding how you’re using step-ca helps. Please send us a sentence or two, good or bad: feedback@smallstep.com or https://github.com/smallstep/certificates/discussions. flag provided but not defined: -db-options’‘’你看看这个是不是成功修复了
最新发布
07-10
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值