Skip to content

Commit

Permalink
add example for SSH imposter
Browse files Browse the repository at this point in the history
  • Loading branch information
christian-sahlmann committed May 16, 2023
1 parent e983de2 commit 5f7a8e4
Showing 1 changed file with 22 additions and 0 deletions.
22 changes: 22 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -51,6 +51,28 @@ info: [mb:2525] mountebank v2.6.0 now taking orders - point your browser to http
$ curl -XPUT localhost:2525/imposters -d '
{
"imposters": [
{
"port": 22,
"protocol": "ssh",
"stubs": [
{
"responses": [
{
"proxy": {
"predicatesGenerators": [
{
"matches": {
"command": true
}
}
],
"to": "ssh://username:[email protected]"
}
}
]
}
]
},
{
"port": 23,
"protocol": "telnet",
Expand Down

0 comments on commit 5f7a8e4

Please sign in to comment.