Try: data = os.popen('ssh remotehost ls').read() print 'Got dat:', data Sean -- "You can tune a file-system, but you can't tune a fish." -- Quote from tunefs(1M) man page Sean Reifschneider, Inimitably Superfluous <jafo at tummy.com> tummy.com - Linux Consulting since 1995. Qmail, KRUD, Firewalls, Python