unixdev.net


Switch to SpeakEasy.net DSL

The Modular Manual Browser

Home Page
Manual: (OSF1-V5.1-alpha)
Page:
Section:
Apropos / Subsearch:
optional field



ssh-dummy-shell(1)					   ssh-dummy-shell(1)



NAME

  ssh-dummy-shell - Restricted shell

SYNOPSIS

  ssh-dummy-shell [-c sftp-shell]

OPTIONS

  -c sftp-shell
      The -c sftp-shell	option is executed as a	shell command.	Only the
      sftp-server argument is allowed.	Any other argument causes the ssh-
      dummy-shell command to exit immediately.

DESCRIPTION

  The ssh-dummy-shell command provides access to systems where only file
  transfer functionality is permitted.	Users with file	transfer only access
  can have ssh-dummy-shell as their user shell.	 When executed without any
  options, the ssh-dummy-shell command waits for the user to press any key
  and exit. The	only way to execute programs with the ssh-dummy-shell command
  is to	specify	them by	using the -c option.  Even then, sftp-server is	the
  only argument	allowed.

EXIT STATUS

  The ssh-dummy-shell command returns the value	of the command.	 If no com-
  mand is given, 0 will	be returned on exit.

FILES

  /etc/ssh2/ssh_dummy_shell.out
      Contains the message shown to the	user when the ssh-dummy-shell command
      is executed without any options.

LEGAL NOTICES

  SSH is a registered trademark	of SSH Communication Security Ltd.

SEE ALSO

  Commands: sftp(1), sftp-server(1), ssh2(1), sshd2(8)