---
name: "cfssh"
section: "1"
platform: "linux"
package: "cfs"
version: "1.4.1-17"
release: "Debian 4.0 (Etch)"
platforms: ["linux"]
url: "https://new.carta.tech/cfssh"
---

# cfssh(1)

(somewhat) secure CFS shell

## NAME

cfssh - (somewhat) secure CFS shell

## SYNOPSIS

**cfssh** *directory*

## DESCRIPTION

**cfssh** uses [**cattach**(1)](/cattach/1.md) to associate the encrypted *directory* (previously created with [**cmkdir**(1)](/cmkdir/1.md)) with a randomly selected name.  Once the correct passphrase is provided, **cfssh** invokes a new shell with the random directory in /crypt as its working directory. When the shell exits, the temporary attach name is deleted with [cdetach(1)](/cdetach/1.md). Since the generated names are somewhat obscure and are hidden from view with CFS's "." mechanism, casual attackers cannot easily exploit the attached cleartext even if they can spoof the UID of the user.

## SEE ALSO

[cfsd(8)](/cfsd/8.md), [cattach(1)](/cattach/1.md), [cdetach(1)](/cdetach/1.md), [cmkdir(1)](/cmkdir/1.md)

## BUGS

The temporary names generated are not random in any cryptographically strong sense, so this command should really only be viewed as an example.  A determined attacker could probably guess the generated name by exploiting the known properties of the way the ksh random function is seeded.

There's no hiding from an attacker who can compromise root on the client system while an attach is active.

## AUTHOR

Matt Blaze; for information on cfs, email to cfs@research.att.com.
