# port

Get the port of an SSH connection.

```rhai
conn.port() -> i64
```

## Examples

```rhai
let conn = ssh_builder().host("server.example.com").port(2222).build();
print(`Using port: ${conn.port()}`);
```
