PowerShell / PowerShell/Win32-OpenSSH
Can't access usb token through ssh
Nobody has claimed this yet.
- Dominant language
- No language data
- Stars
- 8.3k
- Forks
- 819
- PR merge metrics
- No merged PRs in 30d
Description
Troubleshooting steps
https://github.com/PowerShell/Win32-OpenSSH/wiki/Troubleshooting-Steps
Terminal issue? please go through wiki
https://github.com/PowerShell/Win32-OpenSSH/wiki/TTY-PTY-support-in-Windows-OpenSSH
Please answer the following
"OpenSSH for Windows" version
((Get-Item (Get-Command sshd).Source).VersionInfo.FileVersion)
8.1.0.0
Server OperatingSystem
((Get-ItemProperty "HKLM:\SOFTWARE\Microsoft\Windows nt\CurrentVersion\" -Name ProductName).ProductName)
Windows Server 2012 R2 Standart Evaluation
Client OperatingSystem
Ubuntu 18.04.2 LTS
What is failing
I've got simple python script using pyscard that prints connected smart card readers. When it runs through freessd or i start it on server by hands script correctly print connected readers. But when i connect to server through openssh and start script it fails.
Expected output
Script or other software correctly access usb tokens
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start with the linked Win32-OpenSSH troubleshooting steps and TTY/PTY support wiki pages. Review the server debug3 logs and the linked Python pyscard script, comparing SSH execution with direct execution on the Windows Server 2012 R2 host. Done means the script or other software can access the USB token when connected through OpenSSH.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- python, ubuntu
- Domain
- operating-systems, security
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 28/100