https://github.com/justjavac/deno_is_ssh
Whether the process is running inside SSH.
https://github.com/justjavac/deno_is_ssh
deno deno-mod deno-module deno-modules ssh
Last synced: about 2 months ago
JSON representation
Whether the process is running inside SSH.
- Host: GitHub
- URL: https://github.com/justjavac/deno_is_ssh
- Owner: justjavac
- License: mit
- Created: 2020-08-24T01:53:46.000Z (almost 6 years ago)
- Default Branch: master
- Last Pushed: 2020-08-24T02:04:23.000Z (almost 6 years ago)
- Last Synced: 2025-10-28T07:25:39.496Z (8 months ago)
- Topics: deno, deno-mod, deno-module, deno-modules, ssh
- Language: TypeScript
- Homepage:
- Size: 1.95 KB
- Stars: 3
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- License: LICENSE
Awesome Lists containing this project
README
# deno_is_ssh
[](https://github.com/justjavac/deno_is_ssh/releases)
[](https://github.com/justjavac/deno_is_ssh/actions)
[](https://github.com/justjavac/deno_is_ssh/blob/master/LICENSE)
Whether the process is running inside SSH.
**Requires the `--allow-env` flag.**
## Usage
```ts
import { isSSH, isSSHSync } from "https://deno.land/x/is_ssh/mod.ts";
await isSSH();
isSSHSync();
```
## License
[deno_is_ssh](https://github.com/justjavac/deno_is_ssh) is released under the MIT License. See the bundled [LICENSE](./LICENSE) file for details.