Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
通过 Putty 使用 X 转发,有一个选项可以指定 X 显示位置,例如 localhost:100。我怎样才能使用 Plink 做同样的想法?我希望在同一个盒子上有多个具有不同显示位置的 X 服务器,并且需要能够将 X 转发到特定的一个。
您可以创建多个 PuTTY 会话并根据需要配置 X 转发。然后您可以使用 plink 并加载存储的会话:
plink.exe -load my_session_1 -l my_user_name -pw my_password <here comes your command> plink.exe -load my_session_2 -l my_user_name -pw my_password <here comes your command>