小编els*_*sni的帖子

如何使用 linux box 通过 ssh 隧道连接 Windows 远程桌面?

我的家庭网络中有两台物理服务器,linux ( 192.168.8.x) 和 windows server 2008 ( 192.168.8.y)。

linux 服务器无法通过非标准端口(例如 23008)上的 ssh 从外部访问。如何在 linux 机器上通过 ssh 建立永久的 RDP 隧道?我知道我可以在外部机器上使用 putty,但我不知道如何在 linux 机器上正确设置 sshd。感谢您的任何提示!

linux rdp ssh ssh-tunnel putty

21
推荐指数
3
解决办法
9万
查看次数

更改 Alpine Linux 默认 shell

Alpine默认使用ash作为登录shell,我想将其更改为bash。

到目前为止我做了什么:

  • 安装 bash 通过sudo apk add bash
  • 安装影子由sudo apk add shadow
  • 我将用户的登录 shell 更改/bin/bashchsh
  • 检查其中/etc/passwd包含/bin/bash我的用户的默认登录 shell

但这似乎被忽略了。当我登录(在控制台或 ssh 上)时,我总是会进入 ash shell。

shell bash alpine

5
推荐指数
1
解决办法
3059
查看次数

标签 统计

alpine ×1

bash ×1

linux ×1

putty ×1

rdp ×1

shell ×1

ssh ×1

ssh-tunnel ×1