n8tg / ssh-copy-id Goto Github PK
View Code? Open in Web Editor NEWA lame PowerShell implementation of ssh-copy-id
License: MIT License
A lame PowerShell implementation of ssh-copy-id
License: MIT License
let say i have a server running ssh on port 2222
ssh-copy-id doest not allow me to copy my pub key to that diffrent port
or did i missed something ?
ssh-copy-id "-p2222 [email protected]"
result: not working
ssh-copy-id [email protected] -p2222
result: not working
the above ips are dummy ips.
Installed the module in Powershell per the instructions.
Target host is a Debian 11 machine (running in a container on Proxmox, hopefully that doesn't change anything)
The target user account on the remote machine has bash as their default shell
Run the command, e.g.
ssh-copy-id 192.168.0.xx -i .ssh/ansible_ed25519.pub
The feedback is a bash error from the remote end-
bash: line 1: /dev/null ]: Permission denied
The key is added to ~/.ssh/authorized_keys, preceded by a blank line (not sure if that is expected behaviour?)
Note: /dev/null has default permissions on the remote machine-
crw-rw-rw- 1 nobody nogroup 1, 3 Apr 12 09:16 /dev/null```
Good day, an error occurred when i run ssh-copyid [email protected]
on powershell. my os is win11.
+ ssh-copy-id [email protected]
+ ~~~~~~~~~~~
+ CategoryInfo : ObjectNotFound: (ssh-copy-id:String) [], CommandNotFoundException
+ FullyQualifiedErrorId : CouldNotAutoloadMatchingModule
I look forward to hearing from you :)
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.